Skip to content

Commit

Permalink
ARM: scoop: drop pcmcia_init callback
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Dmitry Eremin-Solenikov authored and Eric Miao committed Jul 11, 2011
1 parent 4c738b2 commit b34e7b4
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion arch/arm/include/asm/hardware/scoop.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
};

Expand Down
3 changes: 0 additions & 3 deletions drivers/pcmcia/pxa2xx_sharpsl.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit b34e7b4

Please sign in to comment.