public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Randy Dunlap <rdunlap@infradead.org>
To: LKML <linux-kernel@vger.kernel.org>
Cc: Douglas Gilbert <dgilbert@interlog.com>,
	Samuel Ortiz <sameo@linux.intel.com>,
	Lee Jones <lee.jones@linaro.org>,
	Linus Torvalds <torvalds@linux-foundation.org>
Subject: [PATCH] mfd: fix rt5033 build, needs to select REGMAP_IRQ
Date: Sun, 12 Apr 2015 19:40:29 -0700	[thread overview]
Message-ID: <552B2C9D.7050806@infradead.org> (raw)

From: Randy Dunlap <rdunlap@infradead.org>

rt5033.c uses regmap_irq*() intefaces so it should select
REGMAP_IRQ to fix build errors.

ERROR: "regmap_irq_get_domain" [drivers/mfd/rt5033.ko] undefined!
ERROR: "regmap_add_irq_chip" [drivers/mfd/rt5033.ko] undefined!

Reported-by: Douglas Gilbert <dgilbert@interlog.com>
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc:	Samuel Ortiz <sameo@linux.intel.com>
Cc:	Lee Jones <lee.jones@linaro.org>
---
 drivers/mfd/Kconfig |    1 +
 1 file changed, 1 insertion(+)

--- lnx-40.orig/drivers/mfd/Kconfig
+++ lnx-40/drivers/mfd/Kconfig
@@ -655,6 +655,7 @@ config MFD_RT5033
 	depends on I2C=y
 	select MFD_CORE
 	select REGMAP_I2C
+	select REGMAP_IRQ
 	help
 	  This driver provides for the Richtek RT5033 Power Management IC,
 	  which includes the I2C driver and the Core APIs. This driver provides

                 reply	other threads:[~2015-04-13  2:40 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=552B2C9D.7050806@infradead.org \
    --to=rdunlap@infradead.org \
    --cc=dgilbert@interlog.com \
    --cc=lee.jones@linaro.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=sameo@linux.intel.com \
    --cc=torvalds@linux-foundation.org \
    /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