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>
This commit is contained in:
parent
4c738b2568
commit
b34e7b4f05
|
@ -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);
|
||||
};
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue