Skip to content

Commit e114cd3

Browse files
linuswstorulf
authored andcommitted
ARM: pxa: Delete platform data for CD/WP
This deletes the platform data passed for card detect and write protect from various PXA machines. Make sure to keep .gpio_card_ro_invert as this is still in use by some machines and needed to set the right flag to the MMC core (will be cleaned up later). Cc: Daniel Mack <daniel@zonque.org> Cc: Robert Jarzmik <robert.jarzmik@free.fr> Cc: Bartosz Golaszewski <brgl@bgdev.pl> Cc: Andrea Adami <andrea.adami@gmail.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Acked-by: Robert Jarzmik <robert.jarzmik@free.fr> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
1 parent c914a27 commit e114cd3

36 files changed

+6
-117
lines changed

arch/arm/mach-pxa/balloon3.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -290,8 +290,6 @@ static unsigned long balloon3_mmc_pin_config[] __initdata = {
290290

291291
static struct pxamci_platform_data balloon3_mci_platform_data = {
292292
.ocr_mask = MMC_VDD_32_33 | MMC_VDD_33_34,
293-
.gpio_card_detect = -1,
294-
.gpio_card_ro = -1,
295293
.gpio_power = -1,
296294
.detect_delay_ms = 200,
297295
};

arch/arm/mach-pxa/cm-x270.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -289,8 +289,6 @@ static inline void cmx270_init_ohci(void) {}
289289
#if defined(CONFIG_MMC) || defined(CONFIG_MMC_MODULE)
290290
static struct pxamci_platform_data cmx270_mci_platform_data = {
291291
.ocr_mask = MMC_VDD_32_33|MMC_VDD_33_34,
292-
.gpio_card_detect = GPIO83_MMC_IRQ,
293-
.gpio_card_ro = -1,
294292
.gpio_power = GPIO105_MMC_POWER,
295293
.gpio_power_invert = 1,
296294
};

arch/arm/mach-pxa/cm-x300.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -459,8 +459,6 @@ static inline void cm_x300_init_nand(void) {}
459459
static struct pxamci_platform_data cm_x300_mci_platform_data = {
460460
.detect_delay_ms = 200,
461461
.ocr_mask = MMC_VDD_32_33|MMC_VDD_33_34,
462-
.gpio_card_detect = GPIO82_MMC_IRQ,
463-
.gpio_card_ro = GPIO85_MMC_WP,
464462
.gpio_power = -1,
465463
};
466464

@@ -493,8 +491,6 @@ static struct pxamci_platform_data cm_x300_mci2_platform_data = {
493491
.ocr_mask = MMC_VDD_32_33|MMC_VDD_33_34,
494492
.init = cm_x300_mci2_init,
495493
.exit = cm_x300_mci2_exit,
496-
.gpio_card_detect = -1,
497-
.gpio_card_ro = -1,
498494
.gpio_power = -1,
499495
};
500496

arch/arm/mach-pxa/colibri-evalboard.c

Lines changed: 3 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,6 @@
3737
#if defined(CONFIG_MMC_PXA) || defined(CONFIG_MMC_PXA_MODULE)
3838
static struct pxamci_platform_data colibri_mci_platform_data = {
3939
.ocr_mask = MMC_VDD_32_33 | MMC_VDD_33_34,
40-
.gpio_power = -1,
41-
.gpio_card_ro = -1,
4240
.detect_delay_ms = 200,
4341
};
4442

@@ -71,21 +69,12 @@ static struct gpiod_lookup_table colibri_pxa320_mci_gpio_table = {
7169

7270
static void __init colibri_mmc_init(void)
7371
{
74-
if (machine_is_colibri()) { /* PXA270 Colibri */
75-
colibri_mci_platform_data.gpio_card_detect =
76-
GPIO0_COLIBRI_PXA270_SD_DETECT;
72+
if (machine_is_colibri()) /* PXA270 Colibri */
7773
gpiod_add_lookup_table(&colibri_pxa270_mci_gpio_table);
78-
}
79-
if (machine_is_colibri300()) { /* PXA300 Colibri */
80-
colibri_mci_platform_data.gpio_card_detect =
81-
GPIO13_COLIBRI_PXA300_SD_DETECT;
74+
if (machine_is_colibri300()) /* PXA300 Colibri */
8275
gpiod_add_lookup_table(&colibri_pxa300_mci_gpio_table);
83-
}
84-
else { /* PXA320 Colibri */
85-
colibri_mci_platform_data.gpio_card_detect =
86-
GPIO28_COLIBRI_PXA320_SD_DETECT;
76+
else /* PXA320 Colibri */
8777
gpiod_add_lookup_table(&colibri_pxa320_mci_gpio_table);
88-
}
8978

9079
pxa_set_mci_info(&colibri_mci_platform_data);
9180
}

arch/arm/mach-pxa/colibri-pxa270-income.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,6 @@
5252
static struct pxamci_platform_data income_mci_platform_data = {
5353
.ocr_mask = MMC_VDD_32_33 | MMC_VDD_33_34,
5454
.gpio_power = -1,
55-
.gpio_card_detect = GPIO0_INCOME_SD_DETECT,
56-
.gpio_card_ro = GPIO0_INCOME_SD_RO,
5755
.detect_delay_ms = 200,
5856
};
5957

arch/arm/mach-pxa/corgi.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -494,8 +494,6 @@ static struct platform_device corgi_audio_device = {
494494
static struct pxamci_platform_data corgi_mci_platform_data = {
495495
.detect_delay_ms = 250,
496496
.ocr_mask = MMC_VDD_32_33|MMC_VDD_33_34,
497-
.gpio_card_detect = CORGI_GPIO_nSD_DETECT,
498-
.gpio_card_ro = CORGI_GPIO_nSD_WP,
499497
.gpio_power = CORGI_GPIO_SD_PWR,
500498
};
501499

arch/arm/mach-pxa/csb726.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,8 +129,6 @@ static struct pxamci_platform_data csb726_mci = {
129129
.detect_delay_ms = 500,
130130
.ocr_mask = MMC_VDD_32_33|MMC_VDD_33_34,
131131
/* FIXME setpower */
132-
.gpio_card_detect = CSB726_GPIO_MMC_DETECT,
133-
.gpio_card_ro = CSB726_GPIO_MMC_RO,
134132
.gpio_power = -1,
135133
};
136134

arch/arm/mach-pxa/em-x270.c

Lines changed: 3 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -577,15 +577,7 @@ static int em_x270_mci_init(struct device *dev,
577577
goto err_irq;
578578
}
579579

580-
if (machine_is_em_x270()) {
581-
err = gpio_request(GPIO95_MMC_WP, "MMC WP");
582-
if (err) {
583-
dev_err(dev, "can't request MMC write protect: %d\n",
584-
err);
585-
goto err_gpio_wp;
586-
}
587-
gpio_direction_input(GPIO95_MMC_WP);
588-
} else {
580+
if (!machine_is_em_x270()) {
589581
err = gpio_request(GPIO38_SD_PWEN, "sdio power");
590582
if (err) {
591583
dev_err(dev, "can't request MMC power control : %d\n",
@@ -625,17 +617,10 @@ static void em_x270_mci_exit(struct device *dev, void *data)
625617
free_irq(gpio_to_irq(mmc_cd), data);
626618
regulator_put(em_x270_sdio_ldo);
627619

628-
if (machine_is_em_x270())
629-
gpio_free(GPIO95_MMC_WP);
630-
else
620+
if (!machine_is_em_x270())
631621
gpio_free(GPIO38_SD_PWEN);
632622
}
633623

634-
static int em_x270_mci_get_ro(struct device *dev)
635-
{
636-
return gpio_get_value(GPIO95_MMC_WP);
637-
}
638-
639624
static struct pxamci_platform_data em_x270_mci_platform_data = {
640625
.detect_delay_ms = 250,
641626
.ocr_mask = MMC_VDD_20_21|MMC_VDD_21_22|MMC_VDD_22_23|
@@ -645,17 +630,13 @@ static struct pxamci_platform_data em_x270_mci_platform_data = {
645630
.init = em_x270_mci_init,
646631
.setpower = em_x270_mci_setpower,
647632
.exit = em_x270_mci_exit,
648-
.gpio_card_detect = -1,
649-
.gpio_card_ro = -1,
650633
.gpio_power = -1,
651634
};
652635

653636
static void __init em_x270_init_mmc(void)
654637
{
655-
if (machine_is_em_x270()) {
656-
em_x270_mci_platform_data.get_ro = em_x270_mci_get_ro;
638+
if (machine_is_em_x270())
657639
gpiod_add_lookup_table(&em_x270_mci_wp_gpio_table);
658-
}
659640

660641
pxa_set_mci_info(&em_x270_mci_platform_data);
661642
}

arch/arm/mach-pxa/gumstix.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,6 @@ static struct platform_device *devices[] __initdata = {
9090
#ifdef CONFIG_MMC_PXA
9191
static struct pxamci_platform_data gumstix_mci_platform_data = {
9292
.ocr_mask = MMC_VDD_32_33|MMC_VDD_33_34,
93-
.gpio_card_detect = -1,
94-
.gpio_card_ro = -1,
9593
.gpio_power = -1,
9694
};
9795

arch/arm/mach-pxa/idp.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,8 +160,6 @@ static struct pxafb_mach_info sharp_lm8v31 = {
160160

161161
static struct pxamci_platform_data idp_mci_platform_data = {
162162
.ocr_mask = MMC_VDD_32_33|MMC_VDD_33_34,
163-
.gpio_card_detect = -1,
164-
.gpio_card_ro = -1,
165163
.gpio_power = -1,
166164
};
167165

arch/arm/mach-pxa/littleton.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,6 @@
5151

5252
#include "generic.h"
5353

54-
#define GPIO_MMC1_CARD_DETECT mfp_to_gpio(MFP_PIN_GPIO15)
55-
5654
/* Littleton MFP configurations */
5755
static mfp_cfg_t littleton_mfp_cfg[] __initdata = {
5856
/* LCD */
@@ -278,8 +276,6 @@ static inline void littleton_init_keypad(void) {}
278276
static struct pxamci_platform_data littleton_mci_platform_data = {
279277
.detect_delay_ms = 200,
280278
.ocr_mask = MMC_VDD_32_33 | MMC_VDD_33_34,
281-
.gpio_card_detect = GPIO_MMC1_CARD_DETECT,
282-
.gpio_card_ro = -1,
283279
.gpio_power = -1,
284280
};
285281

arch/arm/mach-pxa/lubbock.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -440,8 +440,6 @@ static struct pxamci_platform_data lubbock_mci_platform_data = {
440440
.init = lubbock_mci_init,
441441
.get_ro = lubbock_mci_get_ro,
442442
.exit = lubbock_mci_exit,
443-
.gpio_card_detect = -1,
444-
.gpio_card_ro = -1,
445443
.gpio_power = -1,
446444
};
447445

arch/arm/mach-pxa/magician.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -775,8 +775,6 @@ static struct pxamci_platform_data magician_mci_info = {
775775
.ocr_mask = MMC_VDD_32_33|MMC_VDD_33_34,
776776
.init = magician_mci_init,
777777
.exit = magician_mci_exit,
778-
.gpio_card_detect = -1,
779-
.gpio_card_ro = EGPIO_MAGICIAN_nSD_READONLY,
780778
.gpio_card_ro_invert = 1,
781779
.gpio_power = EGPIO_MAGICIAN_SD_POWER,
782780
};

arch/arm/mach-pxa/mainstone.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -361,8 +361,6 @@ static struct pxamci_platform_data mainstone_mci_platform_data = {
361361
.init = mainstone_mci_init,
362362
.setpower = mainstone_mci_setpower,
363363
.exit = mainstone_mci_exit,
364-
.gpio_card_detect = -1,
365-
.gpio_card_ro = -1,
366364
.gpio_power = -1,
367365
};
368366

arch/arm/mach-pxa/mioa701.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -398,8 +398,6 @@ struct gpio_vbus_mach_info gpio_vbus_data = {
398398
static struct pxamci_platform_data mioa701_mci_info = {
399399
.detect_delay_ms = 250,
400400
.ocr_mask = MMC_VDD_32_33 | MMC_VDD_33_34,
401-
.gpio_card_detect = GPIO15_SDIO_INSERT,
402-
.gpio_card_ro = GPIO78_SDIO_RO,
403401
.gpio_power = GPIO91_SDIO_EN,
404402
};
405403

arch/arm/mach-pxa/mxm8x10.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -326,8 +326,6 @@ static mfp_cfg_t mfp_cfg[] __initdata = {
326326
static struct pxamci_platform_data mxm_8x10_mci_platform_data = {
327327
.ocr_mask = MMC_VDD_32_33 | MMC_VDD_33_34,
328328
.detect_delay_ms = 10,
329-
.gpio_card_detect = MXM_8X10_SD_nCD,
330-
.gpio_card_ro = MXM_8X10_SD_WP,
331329
.gpio_power = -1
332330
};
333331

arch/arm/mach-pxa/palm27x.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,13 +50,9 @@ static struct pxamci_platform_data palm27x_mci_platform_data = {
5050
};
5151

5252
void __init palm27x_mmc_init(struct gpiod_lookup_table *gtable,
53-
int detect,
54-
int ro,
5553
int power,
5654
int power_inverted)
5755
{
58-
palm27x_mci_platform_data.gpio_card_detect = detect;
59-
palm27x_mci_platform_data.gpio_card_ro = ro;
6056
palm27x_mci_platform_data.gpio_power = power;
6157
palm27x_mci_platform_data.gpio_power_invert = power_inverted;
6258

arch/arm/mach-pxa/palm27x.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,10 @@
1616

1717
#if defined(CONFIG_MMC_PXA) || defined(CONFIG_MMC_PXA_MODULE)
1818
extern void __init palm27x_mmc_init(struct gpiod_lookup_table *gtable,
19-
int detect,
20-
int ro,
2119
int power,
2220
int power_inverted);
2321
#else
2422
static inline void palm27x_mmc_init(struct gpiod_lookup_table *gtable,
25-
int detect,
26-
int ro,
2723
int power,
2824
int power_inverted)
2925
{}

arch/arm/mach-pxa/palmld.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -339,8 +339,6 @@ static void __init palmld_init(void)
339339
pxa_set_stuart_info(NULL);
340340

341341
palm27x_mmc_init(&palmld_mci_gpio_table,
342-
GPIO_NR_PALMLD_SD_DETECT_N,
343-
GPIO_NR_PALMLD_SD_READONLY,
344342
GPIO_NR_PALMLD_SD_POWER, 0);
345343
palm27x_pm_init(PALMLD_STR_BASE);
346344
palm27x_lcd_init(-1, &palm_320x480_lcd_mode);

arch/arm/mach-pxa/palmt5.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -201,8 +201,6 @@ static void __init palmt5_init(void)
201201
pxa_set_stuart_info(NULL);
202202

203203
palm27x_mmc_init(&palmt5_mci_gpio_table,
204-
GPIO_NR_PALMT5_SD_DETECT_N,
205-
GPIO_NR_PALMT5_SD_READONLY,
206204
GPIO_NR_PALMT5_SD_POWER, 0);
207205
palm27x_pm_init(PALMT5_STR_BASE);
208206
palm27x_lcd_init(-1, &palm_320x480_lcd_mode);

arch/arm/mach-pxa/palmtc.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,8 +121,6 @@ static unsigned long palmtc_pin_config[] __initdata = {
121121
static struct pxamci_platform_data palmtc_mci_platform_data = {
122122
.ocr_mask = MMC_VDD_32_33 | MMC_VDD_33_34,
123123
.gpio_power = GPIO_NR_PALMTC_SD_POWER,
124-
.gpio_card_ro = GPIO_NR_PALMTC_SD_READONLY,
125-
.gpio_card_detect = GPIO_NR_PALMTC_SD_DETECT_N,
126124
.detect_delay_ms = 200,
127125
};
128126

arch/arm/mach-pxa/palmte2.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,6 @@ static unsigned long palmte2_pin_config[] __initdata = {
102102
******************************************************************************/
103103
static struct pxamci_platform_data palmte2_mci_platform_data = {
104104
.ocr_mask = MMC_VDD_32_33 | MMC_VDD_33_34,
105-
.gpio_card_detect = GPIO_NR_PALMTE2_SD_DETECT_N,
106-
.gpio_card_ro = GPIO_NR_PALMTE2_SD_READONLY,
107105
.gpio_power = GPIO_NR_PALMTE2_SD_POWER,
108106
};
109107

arch/arm/mach-pxa/palmtreo.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -497,8 +497,6 @@ static void __init treo680_init(void)
497497
palmphone_common_init();
498498
treo680_gpio_init();
499499
palm27x_mmc_init(&treo680_mci_gpio_table,
500-
GPIO_NR_TREO_SD_DETECT_N,
501-
GPIO_NR_TREO680_SD_READONLY,
502500
GPIO_NR_TREO680_SD_POWER, 0);
503501
}
504502
#endif
@@ -519,7 +517,6 @@ static void __init centro_init(void)
519517
pxa2xx_mfp_config(ARRAY_AND_SIZE(centro685_pin_config));
520518
palmphone_common_init();
521519
palm27x_mmc_init(&centro685_mci_gpio_table,
522-
GPIO_NR_TREO_SD_DETECT_N, -1,
523520
GPIO_NR_CENTRO_SD_POWER, 1);
524521
}
525522
#endif

arch/arm/mach-pxa/palmtx.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -356,8 +356,6 @@ static void __init palmtx_init(void)
356356
pxa_set_stuart_info(NULL);
357357

358358
palm27x_mmc_init(&palmtx_mci_gpio_table,
359-
GPIO_NR_PALMTX_SD_DETECT_N,
360-
GPIO_NR_PALMTX_SD_READONLY,
361359
GPIO_NR_PALMTX_SD_POWER, 0);
362360
palm27x_pm_init(PALMTX_STR_BASE);
363361
palm27x_lcd_init(-1, &palm_320x480_lcd_mode);

arch/arm/mach-pxa/palmz72.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -408,8 +408,6 @@ static void __init palmz72_init(void)
408408
pxa_set_stuart_info(NULL);
409409

410410
palm27x_mmc_init(&palmz72_mci_gpio_table,
411-
GPIO_NR_PALMZ72_SD_DETECT_N,
412-
GPIO_NR_PALMZ72_SD_RO,
413411
GPIO_NR_PALMZ72_SD_POWER_N, 1);
414412
palm27x_lcd_init(-1, &palm_320x320_lcd_mode);
415413
palm27x_udc_init(GPIO_NR_PALMZ72_USB_DETECT_N,

arch/arm/mach-pxa/pcm990-baseboard.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -370,8 +370,6 @@ static struct pxamci_platform_data pcm990_mci_platform_data = {
370370
.init = pcm990_mci_init,
371371
.setpower = pcm990_mci_setpower,
372372
.exit = pcm990_mci_exit,
373-
.gpio_card_detect = -1,
374-
.gpio_card_ro = -1,
375373
.gpio_power = -1,
376374
};
377375

arch/arm/mach-pxa/poodle.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -289,8 +289,6 @@ static struct pxamci_platform_data poodle_mci_platform_data = {
289289
.init = poodle_mci_init,
290290
.setpower = poodle_mci_setpower,
291291
.exit = poodle_mci_exit,
292-
.gpio_card_detect = POODLE_GPIO_nSD_DETECT,
293-
.gpio_card_ro = POODLE_GPIO_nSD_WP,
294292
.gpio_power = -1,
295293
};
296294

arch/arm/mach-pxa/raumfeld.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -749,8 +749,6 @@ static struct pxamci_platform_data raumfeld_mci_platform_data = {
749749
.init = raumfeld_mci_init,
750750
.exit = raumfeld_mci_exit,
751751
.detect_delay_ms = 200,
752-
.gpio_card_detect = -1,
753-
.gpio_card_ro = -1,
754752
.gpio_power = -1,
755753
};
756754

arch/arm/mach-pxa/spitz.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -616,8 +616,6 @@ static struct pxamci_platform_data spitz_mci_platform_data = {
616616
.detect_delay_ms = 250,
617617
.ocr_mask = MMC_VDD_32_33|MMC_VDD_33_34,
618618
.setpower = spitz_mci_setpower,
619-
.gpio_card_detect = SPITZ_GPIO_nSD_DETECT,
620-
.gpio_card_ro = SPITZ_GPIO_nSD_WP,
621619
.gpio_power = -1,
622620
};
623621

arch/arm/mach-pxa/stargate2.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -436,8 +436,6 @@ static int imote2_mci_get_ro(struct device *dev)
436436
static struct pxamci_platform_data imote2_mci_platform_data = {
437437
.ocr_mask = MMC_VDD_32_33 | MMC_VDD_33_34, /* default anyway */
438438
.get_ro = imote2_mci_get_ro,
439-
.gpio_card_detect = -1,
440-
.gpio_card_ro = -1,
441439
.gpio_power = -1,
442440
};
443441

arch/arm/mach-pxa/tosa.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -292,8 +292,6 @@ static struct pxamci_platform_data tosa_mci_platform_data = {
292292
.ocr_mask = MMC_VDD_32_33|MMC_VDD_33_34,
293293
.init = tosa_mci_init,
294294
.exit = tosa_mci_exit,
295-
.gpio_card_detect = TOSA_GPIO_nSD_DETECT,
296-
.gpio_card_ro = TOSA_GPIO_SD_WP,
297295
.gpio_power = TOSA_GPIO_PWR_ON,
298296
};
299297

arch/arm/mach-pxa/trizeps4.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -355,8 +355,6 @@ static struct pxamci_platform_data trizeps4_mci_platform_data = {
355355
.exit = trizeps4_mci_exit,
356356
.get_ro = NULL, /* write-protection not supported */
357357
.setpower = NULL, /* power-switching not supported */
358-
.gpio_card_detect = -1,
359-
.gpio_card_ro = -1,
360358
.gpio_power = -1,
361359
};
362360

0 commit comments

Comments
 (0)