linux-next.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* linux-next: build failure after merge of the final tree (msm tree related)
@ 2013-05-31  4:59 Stephen Rothwell
  0 siblings, 0 replies; only message in thread
From: Stephen Rothwell @ 2013-05-31  4:59 UTC (permalink / raw)
  To: David Brown; +Cc: linux-next, linux-kernel, Rohit Vaswani

[-- Attachment #1: Type: text/plain, Size: 1839 bytes --]

Hi all,

After merging the final tree, today's linux-next build (powerpc
allyesconfig) failed like this:

drivers/gpio/gpio-msm-v2.c: In function 'msm_gpio_irq_domain_map':
drivers/gpio/gpio-msm-v2.c:373:2: error: implicit declaration of function 'set_irq_flags' [-Werror=implicit-function-declaration]
  set_irq_flags(irq, IRQF_VALID);
  ^
drivers/gpio/gpio-msm-v2.c:373:21: error: 'IRQF_VALID' undeclared (first use in this function)
  set_irq_flags(irq, IRQF_VALID);
                     ^
drivers/gpio/gpio-msm-v2.c:373:21: note: each undeclared identifier is reported only once for each function it appears in
drivers/gpio/gpio-msm-v2.c: In function 'msm_gpio_remove':
drivers/gpio/gpio-msm-v2.c:450:18: error: 'TLMM_SCSS_SUMMARY_IRQ' undeclared (first use in this function)
  irq_set_handler(TLMM_SCSS_SUMMARY_IRQ, NULL);
                  ^

Caused by commit 69cf52b46b39 ("gpio: msm: Add device tree and irqdomain
support for gpio-msm-v2").

I applied the following patch for today:

From: Stephen Rothwell <sfr@canb.auug.org.au>
Date: Fri, 31 May 2013 14:54:00 +1000
Subject: [PATCH] restore dependency on ARCH_MSM to GPIO_MSM_V2

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
---
 drivers/gpio/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
index 2e4a21a..f471fe8 100644
--- a/drivers/gpio/Kconfig
+++ b/drivers/gpio/Kconfig
@@ -165,7 +165,7 @@ config GPIO_MSM_V1
 
 config GPIO_MSM_V2
 	tristate "Qualcomm MSM GPIO v2"
-	depends on GPIOLIB && OF
+	depends on GPIOLIB && OF && ARCH_MSM
 	help
 	  Say yes here to support the GPIO interface on ARM v7 based
 	  Qualcomm MSM chips.  Most of the pins on the MSM can be
-- 
1.8.1

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2013-05-31  4:59 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-31  4:59 linux-next: build failure after merge of the final tree (msm tree related) Stephen Rothwell

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).