From: AnilKumar Ch <anilkumar@ti.com>
To: <rdunlap@xenotime.net>
Cc: <sfr@canb.auug.org.au>, <sameo@linux.intel.com>,
<broonie@opensource.wolfsonmicro.com>,
<linux-next@vger.kernel.org>, <linux-kernel@vger.kernel.org>,
<linux-omap@vger.kernel.org>, AnilKumar Ch <anilkumar@ti.com>
Subject: [PATCH] regulator: tps65217: fix build error if REGULATOR is not enabled
Date: Wed, 18 Jul 2012 12:11:03 +0530 [thread overview]
Message-ID: <1342593663-23938-1-git-send-email-anilkumar@ti.com> (raw)
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
next reply other threads:[~2012-07-18 6:42 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-07-18 6:41 AnilKumar Ch [this message]
2012-07-18 9:44 ` [PATCH] regulator: tps65217: fix build error if REGULATOR is not enabled Mark Brown
2012-07-18 9:55 ` AnilKumar, Chimata
2012-07-18 10:00 ` Mark Brown
2012-07-19 12:35 ` AnilKumar, Chimata
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=1342593663-23938-1-git-send-email-anilkumar@ti.com \
--to=anilkumar@ti.com \
--cc=broonie@opensource.wolfsonmicro.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-next@vger.kernel.org \
--cc=linux-omap@vger.kernel.org \
--cc=rdunlap@xenotime.net \
--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).