From 1ed662d6f731307c7ad85d8bec03c2a99866c1df Mon Sep 17 00:00:00 2001 From: Hauke Mehrtens Date: Sat, 18 Jan 2014 22:56:51 +0100 Subject: [PATCH] backports: do not activate BCMA_HOST_SOC on kernel < 3.7 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 --- dependencies | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/dependencies b/dependencies index 4eabc258837f..7f6b95a514a2 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 -- 2.30.2