diff options
author | Peter Denison <openwrt@marshadder.org> | 2008-05-20 22:33:45 +0000 |
---|---|---|
committer | Peter Denison <openwrt@marshadder.org> | 2008-05-20 22:33:45 +0000 |
commit | f027ecb2cf9b1a1c6cab6f5e4a9d99c49bced63c (patch) | |
tree | 7730f5afe931a56f2bbb8c7973521668cf78283e /package/switch/src | |
parent | de5c50cfe473bb7d7a833645697a25dd2b4f4ab7 (diff) | |
download | upstream-f027ecb2cf9b1a1c6cab6f5e4a9d99c49bced63c.tar.gz upstream-f027ecb2cf9b1a1c6cab6f5e4a9d99c49bced63c.tar.bz2 upstream-f027ecb2cf9b1a1c6cab6f5e4a9d99c49bced63c.zip |
Stopgap compilation fixes for diag and switch under 2.6.25
SVN-Revision: 11231
Diffstat (limited to 'package/switch/src')
-rw-r--r-- | package/switch/src/gpio-bcm947xx.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/package/switch/src/gpio-bcm947xx.h b/package/switch/src/gpio-bcm947xx.h index 9417bce2a1..9135f916a7 100644 --- a/package/switch/src/gpio-bcm947xx.h +++ b/package/switch/src/gpio-bcm947xx.h @@ -5,6 +5,10 @@ #ifndef BCMDRIVER #include <linux/ssb/ssb_embedded.h> +#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,25) +#define ssb ssb_bcm47xx +#endif + extern struct ssb_bus ssb; |