]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ARM: scoop: drop pcmcia_init callback
authorDmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Tue, 14 Jun 2011 05:21:05 +0000 (09:21 +0400)
committerEric Miao <eric.y.miao@gmail.com>
Mon, 11 Jul 2011 06:43:32 +0000 (14:43 +0800)
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 ebb3ceaa8facf0f277dd2c088cdd22611a7b011c..58cdf5d84122adc867598123c608894a4b1e226e 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 81af2b3bcc005ae90a77d349edd7212b093b29a1..69ae2fd22400a7b9db6f59420f90b9c29dfd5ade 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;