aboutsummaryrefslogtreecommitdiffstats
path: root/package/switch
diff options
context:
space:
mode:
authorPeter Denison <openwrt@marshadder.org>2008-05-20 22:33:45 +0000
committerPeter Denison <openwrt@marshadder.org>2008-05-20 22:33:45 +0000
commita824434922bba71f64e5b93286afc1de1b542fc7 (patch)
treecb1fdc0d517cf45bfec7bc69c1565a20438266bd /package/switch
parentdf83a6c4c8bb11e1b63a2cd12fbe4f482999778c (diff)
downloadupstream-a824434922bba71f64e5b93286afc1de1b542fc7.tar.gz
upstream-a824434922bba71f64e5b93286afc1de1b542fc7.tar.bz2
upstream-a824434922bba71f64e5b93286afc1de1b542fc7.zip
[bcm47xx] Stopgap compilation fixes for diag and switch under 2.6.25
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11231 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/switch')
-rw-r--r--package/switch/src/gpio-bcm947xx.h4
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;