X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/84296b55ed91435826d4c305d1f87c9e06566743..430989c4b579671a9929f88f9487057afafe6416:/package/switch/src/gpio-bcm947xx.h?ds=sidebyside 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;