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@xxxxxxxxxxxxxxxx> 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@xxxxxxxxxxxxxxxx> --- 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@xxxxxxxxxxxxxxxx
Attachment:
pgpk53PlaJdkg.pgp
Description: PGP signature