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 <[email protected]>
---
 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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to