summaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-01-06 22:36:41 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-01-06 22:36:41 +0000
commit3b617e51ccb4e6e8fd00cbf15bf76a218776d6dd (patch)
tree930ed8ba448c8cb7b266e8546bcfa3eb6333242b /package
parent8ebc23314044a9974a92bdc698dd8bc2291a7788 (diff)
add initial 2.6.28 support for brcm47xx target
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13909 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-rw-r--r--package/broadcom-diag/src/gpio.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/broadcom-diag/src/gpio.h b/package/broadcom-diag/src/gpio.h
index 6b1b2ada4..ba5397654 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)
{