[bcm47xx] Stopgap compilation fixes for diag and switch under 2.6.25
[openwrt-10.03/.git] / package / switch / src / gpio-bcm947xx.h
index 9417bce2a1661f598527ba75dd81dcaaf9b786f0..9135f916a76bbdd9d38f9f47d5e95e2d17f3c38f 100644 (file)
@@ -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;