linux-next.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Randy Dunlap <randy.dunlap@oracle.com>
To: Stephen Rothwell <sfr@canb.auug.org.au>,
	Samuel Ortiz <sameo@linux.intel.com>,
	Margarita Olaya <magi@slimlogic.co.uk>
Cc: linux-next@vger.kernel.org, LKML <linux-kernel@vger.kernel.org>
Subject: [PATCH -next] mfd: tps65912 needs MFD_CORE
Date: Wed, 22 Jun 2011 10:06:15 -0700	[thread overview]
Message-ID: <20110622100615.c79765ff.randy.dunlap@oracle.com> (raw)
In-Reply-To: <20110622163651.7ebc407c.sfr@canb.auug.org.au>

From: Randy Dunlap <randy.dunlap@oracle.com>

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 <randy.dunlap@oracle.com>
---
 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

  reply	other threads:[~2011-06-22 17:08 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-22  6:36 linux-next: Tree for June 22 Stephen Rothwell
2011-06-22 17:06 ` Randy Dunlap [this message]
2011-06-22 18:29   ` [PATCH -next] mfd: tps65912 needs MFD_CORE Mark Brown
2011-06-22 18:46     ` Randy Dunlap
2011-06-22 17:08 ` [PATCH -next] bluetooth: uses crypto interfaces, select CRYPTO Randy Dunlap
     [not found]   ` <20110622100811.258091ff.randy.dunlap-QHcLZuEGTsvQT0dZR+AlfA@public.gmane.org>
2011-06-27 18:03     ` Randy Dunlap
     [not found]       ` <20110627110308.dc64e3a7.randy.dunlap-QHcLZuEGTsvQT0dZR+AlfA@public.gmane.org>
2011-06-27 18:13         ` Gustavo F. Padovan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20110622100615.c79765ff.randy.dunlap@oracle.com \
    --to=randy.dunlap@oracle.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-next@vger.kernel.org \
    --cc=magi@slimlogic.co.uk \
    --cc=sameo@linux.intel.com \
    --cc=sfr@canb.auug.org.au \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).