All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] regulator: tps65217: fix build error if REGULATOR is not enabled
@ 2012-07-18  6:41 ` AnilKumar Ch
  0 siblings, 0 replies; 6+ messages in thread
From: AnilKumar Ch @ 2012-07-18  6:41 UTC (permalink / raw)
  To: rdunlap
  Cc: sfr, sameo, broonie, linux-next, linux-kernel, linux-omap, AnilKumar Ch

Fixes below build error if CONFIG_REGULATOR is not enabled.

drivers/built-in.o: In function `tps65217_probe':
tps65217.c:(.devinit.text+0x13e37): undefined reference to `of_regulator_match'

Signed-off-by: AnilKumar Ch <anilkumar@ti.com>
---
 drivers/mfd/Kconfig |    1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig
index e129c82..01c929a 100644
--- a/drivers/mfd/Kconfig
+++ b/drivers/mfd/Kconfig
@@ -159,6 +159,7 @@ config TPS6507X
 config MFD_TPS65217
 	tristate "TPS65217 Power Management / White LED chips"
 	depends on I2C
+	depends on REGULATOR
 	select MFD_CORE
 	select REGMAP_I2C
 	help
-- 
1.7.9.5


^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2012-07-19 12:35 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-07-18  6:41 [PATCH] regulator: tps65217: fix build error if REGULATOR is not enabled AnilKumar Ch
2012-07-18  6:41 ` AnilKumar Ch
2012-07-18  9:44 ` Mark Brown
2012-07-18  9:55   ` AnilKumar, Chimata
2012-07-18 10:00     ` Mark Brown
2012-07-19 12:35       ` AnilKumar, Chimata

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.