[PATCH] media/radio/wl1273: fix build errors

From: Randy Dunlap
Date: Sun Feb 27 2011 - 12:52:31 EST


From: Randy Dunlap <randy.dunlap@xxxxxxxxxx>

RADIO_WL1273 needs to make sure that the mfd core is built to avoid
build errors:

ERROR: "mfd_add_devices" [drivers/mfd/wl1273-core.ko] undefined!
ERROR: "mfd_remove_devices" [drivers/mfd/wl1273-core.ko] undefined!

Signed-off-by: Randy Dunlap <randy.dunlap@xxxxxxxxxx>
Cc: Matti Aaltonen <matti.j.aaltonen@xxxxxxxxx>
---
(also needed in mainline)

drivers/media/radio/Kconfig | 1 +
1 file changed, 1 insertion(+)

--- linux-next-20110223.orig/drivers/media/radio/Kconfig
+++ linux-next-20110223/drivers/media/radio/Kconfig
@@ -441,6 +441,7 @@ config RADIO_TIMBERDALE
config RADIO_WL1273
tristate "Texas Instruments WL1273 I2C FM Radio"
depends on I2C && VIDEO_V4L2
+ select MFD_CORE
select MFD_WL1273_CORE
select FW_LOADER
---help---
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/