public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] mfd: select REGMAP_I2C for config MFD_MAX77693
@ 2012-05-24  8:56 Axel Lin
  2012-05-24  8:57 ` [PATCH 2/2] mfd: max77693: Remove unused iolock mutex Axel Lin
  2012-05-24 23:21 ` [PATCH 1/2] mfd: select REGMAP_I2C for config MFD_MAX77693 Chanwoo Choi
  0 siblings, 2 replies; 4+ messages in thread
From: Axel Lin @ 2012-05-24  8:56 UTC (permalink / raw)
  To: linux-kernel; +Cc: Chanwoo Choi, Myungjoo Ham, Kyungmin Park, Samuel Ortiz

max77693 driver uses regmap api, thus need to select REGMAP_I2C.
This fixes below build error when CONFIG_REGMAP=y && CONFIG_REGMAP_I2C=m:

  LD      init/built-in.o
drivers/built-in.o: In function `max77693_i2c_probe':
clk-fixed-factor.c:(.text+0x541f8): undefined reference to `devm_regmap_init_i2c'
make: *** [vmlinux] Error 1

Signed-off-by: Axel Lin <axel.lin@gmail.com>
---
 drivers/mfd/Kconfig |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig
index 4db63b1..e129c82 100644
--- a/drivers/mfd/Kconfig
+++ b/drivers/mfd/Kconfig
@@ -426,6 +426,7 @@ config MFD_MAX77693
 	bool "Maxim Semiconductor MAX77693 PMIC Support"
 	depends on I2C=y && GENERIC_HARDIRQS
 	select MFD_CORE
+	select REGMAP_I2C
 	help
 	  Say yes here to support for Maxim Semiconductor MAX77693.
 	  This is a companion Power Management IC with Flash, Haptic, Charger,
-- 
1.7.5.4




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

end of thread, other threads:[~2012-06-29 11:11 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-24  8:56 [PATCH 1/2] mfd: select REGMAP_I2C for config MFD_MAX77693 Axel Lin
2012-05-24  8:57 ` [PATCH 2/2] mfd: max77693: Remove unused iolock mutex Axel Lin
2012-06-29 11:22   ` Samuel Ortiz
2012-05-24 23:21 ` [PATCH 1/2] mfd: select REGMAP_I2C for config MFD_MAX77693 Chanwoo Choi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox