projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[package] base-files: Add function pi_include the /lib/functions/boot.sh used by...
[openwrt.git]
/
package
/
switch
/
src
/
gpio-bcm947xx.h
diff --git
a/package/switch/src/gpio-bcm947xx.h
b/package/switch/src/gpio-bcm947xx.h
index 9417bce2a1661f598527ba75dd81dcaaf9b786f0..9135f916a76bbdd9d38f9f47d5e95e2d17f3c38f 100644
(file)
--- 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;