summaryrefslogtreecommitdiff
path: root/package/switch/src/gpio-bcm947xx.h
diff options
context:
space:
mode:
Diffstat (limited to 'package/switch/src/gpio-bcm947xx.h')
-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;