.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
---|
1 | 2 | /* |
---|
2 | 3 | * linux/arch/arm/mach-pxa/stargate2.c |
---|
3 | 4 | * |
---|
.. | .. |
---|
6 | 7 | * Copyright: Intel Corp. |
---|
7 | 8 | * |
---|
8 | 9 | * Modified 2009: Jonathan Cameron <jic23@cam.ac.uk> |
---|
9 | | - * |
---|
10 | | - * This program is free software; you can redistribute it and/or modify |
---|
11 | | - * it under the terms of the GNU General Public License version 2 as |
---|
12 | | - * published by the Free Software Foundation. |
---|
13 | 10 | */ |
---|
14 | 11 | |
---|
15 | 12 | #include <linux/init.h> |
---|
.. | .. |
---|
337 | 334 | .num_resources = 1, |
---|
338 | 335 | }; |
---|
339 | 336 | |
---|
340 | | -static struct pxa2xx_spi_master pxa_ssp_master_0_info = { |
---|
| 337 | +static struct pxa2xx_spi_controller pxa_ssp_master_0_info = { |
---|
341 | 338 | .num_chipselect = 1, |
---|
342 | 339 | }; |
---|
343 | 340 | |
---|
344 | | -static struct pxa2xx_spi_master pxa_ssp_master_1_info = { |
---|
| 341 | +static struct pxa2xx_spi_controller pxa_ssp_master_1_info = { |
---|
345 | 342 | .num_chipselect = 1, |
---|
346 | 343 | }; |
---|
347 | 344 | |
---|
348 | | -static struct pxa2xx_spi_master pxa_ssp_master_2_info = { |
---|
| 345 | +static struct pxa2xx_spi_controller pxa_ssp_master_2_info = { |
---|
349 | 346 | .num_chipselect = 1, |
---|
350 | 347 | }; |
---|
351 | 348 | |
---|
.. | .. |
---|
436 | 433 | static struct pxamci_platform_data imote2_mci_platform_data = { |
---|
437 | 434 | .ocr_mask = MMC_VDD_32_33 | MMC_VDD_33_34, /* default anyway */ |
---|
438 | 435 | .get_ro = imote2_mci_get_ro, |
---|
439 | | - .gpio_card_detect = -1, |
---|
440 | | - .gpio_card_ro = -1, |
---|
441 | | - .gpio_power = -1, |
---|
442 | 436 | }; |
---|
443 | 437 | |
---|
444 | 438 | static struct gpio_led imote2_led_pins[] = { |
---|