aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-at91/board-foxg20.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-at91/board-foxg20.c')
-rw-r--r--arch/arm/mach-at91/board-foxg20.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/arch/arm/mach-at91/board-foxg20.c b/arch/arm/mach-at91/board-foxg20.c
index 33411e6ecb1f..0fc218160ae2 100644
--- a/arch/arm/mach-at91/board-foxg20.c
+++ b/arch/arm/mach-at91/board-foxg20.c
@@ -85,7 +85,7 @@ static struct at91_udc_data __initdata foxg20_udc_data = {
85 * SPI devices. 85 * SPI devices.
86 */ 86 */
87static struct spi_board_info foxg20_spi_devices[] = { 87static struct spi_board_info foxg20_spi_devices[] = {
88#if !defined(CONFIG_MMC_AT91) 88#if !IS_ENABLED(CONFIG_MMC_ATMELMCI)
89 { 89 {
90 .modalias = "mtd_dataflash", 90 .modalias = "mtd_dataflash",
91 .chip_select = 1, 91 .chip_select = 1,
@@ -108,12 +108,12 @@ static struct macb_platform_data __initdata foxg20_macb_data = {
108 * MCI (SD/MMC) 108 * MCI (SD/MMC)
109 * det_pin, wp_pin and vcc_pin are not connected 109 * det_pin, wp_pin and vcc_pin are not connected
110 */ 110 */
111static struct at91_mmc_data __initdata foxg20_mmc_data = { 111static struct mci_platform_data __initdata foxg20_mci0_data = {
112 .slot_b = 1, 112 .slot[1] = {
113 .wire4 = 1, 113 .bus_width = 4,
114 .det_pin = -EINVAL, 114 .detect_pin = -EINVAL,
115 .wp_pin = -EINVAL, 115 .wp_pin = -EINVAL,
116 .vcc_pin = -EINVAL, 116 },
117}; 117};
118 118
119 119
@@ -246,7 +246,7 @@ static void __init foxg20_board_init(void)
246 /* Ethernet */ 246 /* Ethernet */
247 at91_add_device_eth(&foxg20_macb_data); 247 at91_add_device_eth(&foxg20_macb_data);
248 /* MMC */ 248 /* MMC */
249 at91_add_device_mmc(0, &foxg20_mmc_data); 249 at91_add_device_mci(0, &foxg20_mci0_data);
250 /* I2C */ 250 /* I2C */
251 at91_add_device_i2c(foxg20_i2c_devices, ARRAY_SIZE(foxg20_i2c_devices)); 251 at91_add_device_i2c(foxg20_i2c_devices, ARRAY_SIZE(foxg20_i2c_devices));
252 /* LEDs */ 252 /* LEDs */