mirror of https://gitee.com/openkylin/linux.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 <u.kleine-koenig@pengutronix.de> Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
This commit is contained in:
parent
5895198c56
commit
37fac4b6e6
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue