Commit b34e7b4f05730e6f26e9d8d3736271b0e4cdeac2

Authored by Dmitry Eremin-Solenikov
Committed by Eric Miao
1 parent 4c738b2568

ARM: scoop: drop pcmcia_init callback

A pcmcia_init callback isn't used on any of the platforms. Drop it.

Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>

Showing 2 changed files with 0 additions and 4 deletions Side-by-side Diff

arch/arm/include/asm/hardware/scoop.h
... ... @@ -61,7 +61,6 @@
61 61 struct scoop_pcmcia_config {
62 62 struct scoop_pcmcia_dev *devs;
63 63 int num_devs;
64   - void (*pcmcia_init)(void);
65 64 void (*power_ctrl)(struct device *scoop, unsigned short cpr, int nr);
66 65 };
67 66  
drivers/pcmcia/pxa2xx_sharpsl.c
... ... @@ -48,9 +48,6 @@
48 48 {
49 49 int ret;
50 50  
51   - if (platform_scoop_config->pcmcia_init)
52   - platform_scoop_config->pcmcia_init();
53   -
54 51 /* Register interrupts */
55 52 if (SCOOP_DEV[skt->nr].cd_irq >= 0) {
56 53 struct pcmcia_irqs cd_irq;