aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-at91/board-sam9260ek.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-at91/board-sam9260ek.c')
-rw-r--r--arch/arm/mach-at91/board-sam9260ek.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/arch/arm/mach-at91/board-sam9260ek.c b/arch/arm/mach-at91/board-sam9260ek.c
index 7b3c3913551a..55f0104c0a4b 100644
--- a/arch/arm/mach-at91/board-sam9260ek.c
+++ b/arch/arm/mach-at91/board-sam9260ek.c
@@ -107,7 +107,7 @@ static void __init at73c213_set_clk(struct at73c213_board_info *info) {}
107 * SPI devices. 107 * SPI devices.
108 */ 108 */
109static struct spi_board_info ek_spi_devices[] = { 109static struct spi_board_info ek_spi_devices[] = {
110#if !defined(CONFIG_MMC_AT91) 110#if !IS_ENABLED(CONFIG_MMC_ATMELMCI)
111 { /* DataFlash chip */ 111 { /* DataFlash chip */
112 .modalias = "mtd_dataflash", 112 .modalias = "mtd_dataflash",
113 .chip_select = 1, 113 .chip_select = 1,
@@ -210,12 +210,12 @@ static void __init ek_add_device_nand(void)
210/* 210/*
211 * MCI (SD/MMC) 211 * MCI (SD/MMC)
212 */ 212 */
213static struct at91_mmc_data __initdata ek_mmc_data = { 213static struct mci_platform_data __initdata ek_mci0_data = {
214 .slot_b = 1, 214 .slot[1] = {
215 .wire4 = 1, 215 .bus_width = 4,
216 .det_pin = -EINVAL, 216 .detect_pin = -EINVAL,
217 .wp_pin = -EINVAL, 217 .wp_pin = -EINVAL,
218 .vcc_pin = -EINVAL, 218 },
219}; 219};
220 220
221 221
@@ -328,7 +328,7 @@ static void __init ek_board_init(void)
328 /* Ethernet */ 328 /* Ethernet */
329 at91_add_device_eth(&ek_macb_data); 329 at91_add_device_eth(&ek_macb_data);
330 /* MMC */ 330 /* MMC */
331 at91_add_device_mmc(0, &ek_mmc_data); 331 at91_add_device_mci(0, &ek_mci0_data);
332 /* I2C */ 332 /* I2C */
333 at91_add_device_i2c(ek_i2c_devices, ARRAY_SIZE(ek_i2c_devices)); 333 at91_add_device_i2c(ek_i2c_devices, ARRAY_SIZE(ek_i2c_devices));
334 /* SSC (to AT73C213) */ 334 /* SSC (to AT73C213) */