diff options
author | Felix Fietkau <nbd@openwrt.org> | 2009-01-06 22:36:41 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2009-01-06 22:36:41 +0000 |
commit | c2b878a3841b7ec8d1fad24d95b7c787b7e9f256 (patch) | |
tree | 35b4639cca9b18bae932100c7adf5a861fb250b6 /package/broadcom-diag/src/gpio.h | |
parent | 74429f096180d752b2dcc7916fea2ed85ea22c7f (diff) | |
download | mtk-20170518-c2b878a3841b7ec8d1fad24d95b7c787b7e9f256.zip mtk-20170518-c2b878a3841b7ec8d1fad24d95b7c787b7e9f256.tar.gz mtk-20170518-c2b878a3841b7ec8d1fad24d95b7c787b7e9f256.tar.bz2 |
add initial 2.6.28 support for brcm47xx target
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 13909
Diffstat (limited to 'package/broadcom-diag/src/gpio.h')
-rw-r--r-- | package/broadcom-diag/src/gpio.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/package/broadcom-diag/src/gpio.h b/package/broadcom-diag/src/gpio.h index 6b1b2ad..ba53976 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) { |