X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/84296b55ed91435826d4c305d1f87c9e06566743..c0241ce8caf879dd9a61e6839a9dbf8a8e1c6c6b:/package/switch/src/gpio-bcm947xx.h diff --git a/package/switch/src/gpio-bcm947xx.h b/package/switch/src/gpio-bcm947xx.h index 9417bce2a..9135f916a 100644 --- a/package/switch/src/gpio-bcm947xx.h +++ b/package/switch/src/gpio-bcm947xx.h @@ -5,6 +5,10 @@ #ifndef BCMDRIVER #include +#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,25) +#define ssb ssb_bcm47xx +#endif + extern struct ssb_bus ssb;