All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] mfd: Make MFD_AS3722 depend on I2C=y
@ 2013-11-18 17:25 Michal Marek
  2013-11-18 17:52 ` Lee Jones
  2013-11-18 23:19 ` Stephen Warren
  0 siblings, 2 replies; 5+ messages in thread
From: Michal Marek @ 2013-11-18 17:25 UTC (permalink / raw)
  To: sameo, lee.jones; +Cc: ldewangan, linux-kernel

MFD_AS3722 can only be builtin, so it needs I2C builtin as well.
With I2C=m, we get:

drivers/mfd/as3722.c:372: undefined reference to `devm_regmap_init_i2c'
drivers/built-in.o: In function `as3722_i2c_driver_init':
drivers/mfd/as3722.c:444: undefined reference to `i2c_register_driver'
drivers/built-in.o: In function `as3722_i2c_driver_exit':
drivers/mfd/as3722.c:444: undefined reference to `i2c_del_driver'

Signed-off-by: Michal Marek <mmarek@suse.cz>
---
 drivers/mfd/Kconfig |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig
index 62a60ca..dd67158 100644
--- a/drivers/mfd/Kconfig
+++ b/drivers/mfd/Kconfig
@@ -32,7 +32,7 @@ config MFD_AS3722
 	select MFD_CORE
 	select REGMAP_I2C
 	select REGMAP_IRQ
-	depends on I2C && OF
+	depends on I2C=y && OF
 	help
 	  The ams AS3722 is a compact system PMU suitable for mobile phones,
 	  tablets etc. It has 4 DC/DC step-down regulators, 3 DC/DC step-down
-- 
1.7.3.1


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

end of thread, other threads:[~2013-11-19  8:20 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-18 17:25 [PATCH] mfd: Make MFD_AS3722 depend on I2C=y Michal Marek
2013-11-18 17:52 ` Lee Jones
2013-11-18 23:19 ` Stephen Warren
2013-11-19  7:48   ` Michal Marek
2013-11-19  8:20   ` Geert Uytterhoeven

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.