From mboxrd@z Thu Jan 1 00:00:00 1970 From: Randy Dunlap Subject: [PATCH -next] mfd: tps65912 needs MFD_CORE Date: Wed, 22 Jun 2011 10:06:15 -0700 Message-ID: <20110622100615.c79765ff.randy.dunlap@oracle.com> References: <20110622163651.7ebc407c.sfr@canb.auug.org.au> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: Received: from rcsinet10.oracle.com ([148.87.113.121]:25394 "EHLO rcsinet10.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751599Ab1FVRIz (ORCPT ); Wed, 22 Jun 2011 13:08:55 -0400 In-Reply-To: <20110622163651.7ebc407c.sfr@canb.auug.org.au> Sender: linux-next-owner@vger.kernel.org List-ID: To: Stephen Rothwell , Samuel Ortiz , Margarita Olaya Cc: linux-next@vger.kernel.org, LKML From: Randy Dunlap MFD_TPS65912 should select MFD_CORE so that mfd interfaces are available to it. This fixes a build error when MFD_CORE=m and MFD_TPS65912=y (and no other TPS65912 kconfig symbols are enabled, so no other select MFD_CORE was done). drivers/built-in.o: In function `tps65912_device_exit': (.text+0x61124): undefined reference to `mfd_remove_devices' drivers/built-in.o: In function `tps65912_device_init': (.text+0x61216): undefined reference to `mfd_add_devices' drivers/built-in.o: In function `tps65912_device_init': (.text+0x61240): undefined reference to `mfd_remove_devices' Signed-off-by: Randy Dunlap --- drivers/mfd/Kconfig | 1 + 1 file changed, 1 insertion(+) --- linux-next-20110622.orig/drivers/mfd/Kconfig +++ linux-next-20110622/drivers/mfd/Kconfig @@ -173,6 +173,7 @@ config MFD_TPS6586X config MFD_TPS65912 bool "TPS65912 PMIC" + select MFD_CORE depends on GPIOLIB config MFD_TPS65912_I2C