summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRandy Dunlap <randy.dunlap@oracle.com>2010-05-11 13:24:20 -0700
committerSamuel Ortiz <sameo@linux.intel.com>2010-05-28 01:37:48 +0200
commite4be3cb72ce40482a9fe19210ad5de8bfc061bb5 (patch)
treed215d250c0f43134f699a376f4d2142058375bf5
parent38270644cc2f2c1fdf150dcc8c4b96136eb4e1f7 (diff)
downloadlinux-e4be3cb72ce40482a9fe19210ad5de8bfc061bb5.tar.gz
linux-e4be3cb72ce40482a9fe19210ad5de8bfc061bb5.tar.bz2
linux-e4be3cb72ce40482a9fe19210ad5de8bfc061bb5.zip
gpio: rdc321x needs to select MFD_CORE
Fix rdc321x-southbridge build: GPIO_RDC321X needs to select MFD_CORE so that the core is built at the same (or higher) tristate level. rdc321x-southbridge.c:(.devinit.text+0x6103): undefined reference to `mfd_add_devices' rdc321x-southbridge.c:(.devexit.text+0xe5f): undefined reference to `mfd_remove_devices' Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com> Cc: Florian Fainelli <florian@openwrt.org> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
-rw-r--r--drivers/gpio/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
index 1567605ab695..724038dab4ca 100644
--- a/drivers/gpio/Kconfig
+++ b/drivers/gpio/Kconfig
@@ -292,6 +292,7 @@ config GPIO_TIMBERDALE
config GPIO_RDC321X
tristate "RDC R-321x GPIO support"
depends on PCI && GPIOLIB
+ select MFD_CORE
select MFD_RDC321X
help
Support for the RDC R321x SoC GPIOs over southbridge