[PATCH] gpio: Mark xtensa gpio driver as BROKEN

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



xtensa:allmodconfig build fails with

drivers/gpio/gpio-xtensa.c: Assembler messages:
drivers/gpio/gpio-xtensa.c:87: Error: unknown opcode or format name 'read_impwire'
drivers/gpio/gpio-xtensa.c:110: Error: unknown opcode or format name 'rur.expstate'
drivers/gpio/gpio-xtensa.c:124: Error: unknown opcode or format name 'wrmsk_expstate'

Tests with various compiler versions was unsuccessful, suggesting that the
assembler instructions may only be available with some unspecified xtensa
variant. Until that is resolved, mark the driver as broken to enable test
builds.

Signed-off-by: Guenter Roeck <linux@xxxxxxxxxxxx>
---
I know this is likely controversial, but it seems to be better than letting
builds fail. And maybe it causes a real fix to be submitted.

 drivers/gpio/Kconfig |    1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
index 903f24d..0b5a0a1 100644
--- a/drivers/gpio/Kconfig
+++ b/drivers/gpio/Kconfig
@@ -306,6 +306,7 @@ config GPIO_XILINX
 
 config GPIO_XTENSA
 	bool "Xtensa GPIO32 support"
+	depends on BROKEN
 	depends on XTENSA
 	depends on HAVE_XTENSA_GPIO32
 	depends on !SMP
-- 
1.7.9.7

--
To unsubscribe from this list: send the line "unsubscribe linux-gpio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux SPI]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux