From 3b617e51ccb4e6e8fd00cbf15bf76a218776d6dd Mon Sep 17 00:00:00 2001 From: nbd Date: Tue, 6 Jan 2009 22:36:41 +0000 Subject: add initial 2.6.28 support for brcm47xx target Signed-off-by: Hauke Mehrtens git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13909 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/broadcom-diag/src/gpio.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'package') diff --git a/package/broadcom-diag/src/gpio.h b/package/broadcom-diag/src/gpio.h index 6b1b2ada4a..ba53976549 100644 --- a/package/broadcom-diag/src/gpio.h +++ b/package/broadcom-diag/src/gpio.h @@ -32,10 +32,12 @@ static inline u32 gpio_control(u32 mask, u32 value) return ssb_gpio_control(&ssb, mask, value); } +#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,28) static inline u32 gpio_intmask(u32 mask, u32 value) { return ssb_gpio_intmask(&ssb, mask, value); } +#endif static inline u32 gpio_intpolarity(u32 mask, u32 value) { -- cgit v1.2.3