From: Uwe Kleine-König Date: Wed, 6 Apr 2011 14:31:02 +0000 (+0200) Subject: pcmcia/sa1100: put sa11x0_pcmcia_hw_init[] to .devinit.data X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=37fac4b6e6fde4ea4f5fd76948ba6f3e5dc63c01;p=openwrt%2Fstaging%2Fblogic.git pcmcia/sa1100: put sa11x0_pcmcia_hw_init[] to .devinit.data sa11x0_pcmcia_hw_init is only used by sa11x0_drv_pcmcia_probe which lives in .devinit.text so it can go to .devinit.data. Signed-off-by: Uwe Kleine-König Signed-off-by: Dominik Brodowski --- diff --git a/drivers/pcmcia/sa1100_generic.c b/drivers/pcmcia/sa1100_generic.c index fb9740d3e9a7..2eea664bc079 100644 --- a/drivers/pcmcia/sa1100_generic.c +++ b/drivers/pcmcia/sa1100_generic.c @@ -43,7 +43,7 @@ int __init pcmcia_collie_init(struct device *dev); -static int (*sa11x0_pcmcia_hw_init[])(struct device *dev) = { +static int (*sa11x0_pcmcia_hw_init[])(struct device *dev) __devinitdata = { #ifdef CONFIG_SA1100_ASSABET pcmcia_assabet_init, #endif