diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2009-12-06 11:58:50 -0500 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2009-12-06 11:58:50 -0500 |
commit | 1bf8e6219552d5dd27012d567ec8c4bb9c2d86b4 (patch) | |
tree | 4b318874b83175cf8e41143218c11b017e0b51ad /drivers/pcmcia/Kconfig | |
parent | ba71e17269633ea36e776d744d5cc0fcb5a41f93 (diff) |
Fix soc_common PCMCIA configuration
Jonathan Cameron reports that building PCMCIA as modules doesn't work:
As module get a load of undefined symbols:
ERROR: "soc_pcmcia_request_irqs" [drivers/pcmcia/pxa2xx_stargate2.ko] undefined!
ERROR: "soc_pcmcia_free_irqs" [drivers/pcmcia/pxa2xx_stargate2.ko] undefined!
ERROR: "soc_pcmcia_enable_irqs" [drivers/pcmcia/pxa2xx_stargate2.ko] undefined!
ERROR: "soc_pcmcia_disable_irqs" [drivers/pcmcia/pxa2xx_stargate2.ko] undefined!
ERROR: "soc_pcmcia_add_one" [drivers/pcmcia/pxa2xx_base.ko] undefined!
ERROR: "soc_common_pcmcia_get_timing" [drivers/pcmcia/pxa2xx_base.ko] undefined!
ERROR: "soc_pcmcia_remove_one" [drivers/pcmcia/pxa2xx_base.ko] undefined!
make[1]: *** [__modpost] Error 1
make: *** [modules] Error 2
This is because soc_common tries to be built-in, but it should be a module.
Allow soc_common to be a module.
Reported-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'drivers/pcmcia/Kconfig')
-rw-r--r-- | drivers/pcmcia/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pcmcia/Kconfig b/drivers/pcmcia/Kconfig index f3ccbccf5f21..cd5082d3ca19 100644 --- a/drivers/pcmcia/Kconfig +++ b/drivers/pcmcia/Kconfig | |||
@@ -179,7 +179,7 @@ config PCMCIA_BCM63XX | |||
179 | depends on BCM63XX && PCMCIA | 179 | depends on BCM63XX && PCMCIA |
180 | 180 | ||
181 | config PCMCIA_SOC_COMMON | 181 | config PCMCIA_SOC_COMMON |
182 | bool | 182 | tristate |
183 | 183 | ||
184 | config PCMCIA_SA1100 | 184 | config PCMCIA_SA1100 |
185 | tristate "SA1100 support" | 185 | tristate "SA1100 support" |