public inbox for linux-next@vger.kernel.org 
 help / color / mirror / Atom feed
From: Peter Ujfalusi <peter.ujfalusi@ti•com>
To: Samuel Ortiz <sameo@linux•intel.com>,
	Stephen Rothwell <sfr@canb•auug.org.au>
Cc: linux-kernel@vger•kernel.org, linux-next@vger•kernel.org,
	t-kristo@ti•com, Randy Dunlap <rdunlap@xenotime•net>,
	peter.ujfalusi@ti•com
Subject: [PATCH v2] MFD: twl6040: Update Kconfig to avoid build breakage
Date: Fri,  8 Jun 2012 11:54:21 +0300	[thread overview]
Message-ID: <1339145661-25333-1-git-send-email-peter.ujfalusi@ti.com> (raw)

twl6040 needs CONFIG_IRQ_DOMAIN to compile, without this we have:
drivers/mfd/twl6040-irq.c: In function 'twl6040_irq_init':
drivers/mfd/twl6040-irq.c:164:2: error: implicit declaration of function 'irq_domain_add_legacy'
drivers/mfd/twl6040-irq.c:165:11: error: 'irq_domain_simple_ops' undeclared (first use in this function)
drivers/mfd/twl6040-irq.c:165:11: note: each undeclared identifier is reported only once for each function it appears in

Reported-by: Randy Dunlap <rdunlap@xenotime•net>
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti•com>
---
 drivers/mfd/Kconfig |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig
index e129c82..92144ed 100644
--- a/drivers/mfd/Kconfig
+++ b/drivers/mfd/Kconfig
@@ -286,6 +286,7 @@ config TWL6040_CORE
 	depends on I2C=y && GENERIC_HARDIRQS
 	select MFD_CORE
 	select REGMAP_I2C
+	select IRQ_DOMAIN
 	default n
 	help
 	  Say yes here if you want support for Texas Instruments TWL6040 audio
-- 
1.7.8.6

             reply	other threads:[~2012-06-08  8:54 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-08  8:54 Peter Ujfalusi [this message]
2012-06-08 16:57 ` [PATCH v2] MFD: twl6040: Update Kconfig to avoid build breakage Randy Dunlap
2012-06-29 16:30 ` Samuel Ortiz

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=1339145661-25333-1-git-send-email-peter.ujfalusi@ti.com \
    --to=peter.ujfalusi@ti$(echo .)com \
    --cc=linux-kernel@vger$(echo .)kernel.org \
    --cc=linux-next@vger$(echo .)kernel.org \
    --cc=rdunlap@xenotime$(echo .)net \
    --cc=sameo@linux$(echo .)intel.com \
    --cc=sfr@canb$(echo .)auug.org.au \
    --cc=t-kristo@ti$(echo .)com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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