[PATCH 03/16] backports: do not activate BCMA_HOST_SOC on kernel < 3.7

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

 



drivers/bcma/driver_gpio.c calls irq_set_chip_and_handler() when
BCMA_HOST_SOC is activated. irq_set_chip_and_handler() gets exported on
kernel >= 3.7, we should not activate this on any older kernel.

Signed-off-by: Hauke Mehrtens <hauke@xxxxxxxxxx>
---
 dependencies |    6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/dependencies b/dependencies
index 4eabc25..7f6b95a 100644
--- a/dependencies
+++ b/dependencies
@@ -183,6 +183,12 @@ BCMA_DRIVER_GPIO 3.0
 BCMA_DRIVER_MIPS 3.3
 SSB_DRIVER_MIPS 3.3
 
+# the irq handler in the gpio driver uses 
+# irq_set_chip_and_handler_name() which gets exported starting with 
+# kernel 3.7. This code is only compiled if BCMA_DRIVER_GPIO and
+# BCMA_HOST_SOC are set.
+BCMA_HOST_SOC 3.7
+
 # rfkill-regulator uses a kernel header file
 # (rfkill-regulator.h) that we don't backport
 # right now, so make it depend on 3.0
-- 
1.7.10.4

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




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux