ARM: scoop: drop pcmcia_init callback
Dmitry Eremin-Solenikov [Tue, 14 Jun 2011 05:21:05 +0000 (09:21 +0400)]
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>

arch/arm/include/asm/hardware/scoop.h
drivers/pcmcia/pxa2xx_sharpsl.c

index ebb3cea..58cdf5d 100644 (file)
@@ -61,7 +61,6 @@ struct scoop_pcmcia_dev {
 struct scoop_pcmcia_config {
        struct scoop_pcmcia_dev *devs;
        int num_devs;
-       void (*pcmcia_init)(void);
        void (*power_ctrl)(struct device *scoop, unsigned short cpr, int nr);
 };
 
index 81af2b3..69ae2fd 100644 (file)
@@ -48,9 +48,6 @@ static int sharpsl_pcmcia_hw_init(struct soc_pcmcia_socket *skt)
 {
        int ret;
 
-       if (platform_scoop_config->pcmcia_init)
-               platform_scoop_config->pcmcia_init();
-
        /* Register interrupts */
        if (SCOOP_DEV[skt->nr].cd_irq >= 0) {
                struct pcmcia_irqs cd_irq;