From 73003484e214d1d22663af170cd4a2cfc21dd5de Mon Sep 17 00:00:00 2001 From: noz Date: Tue, 20 May 2008 22:33:45 +0000 Subject: [bcm47xx] Stopgap compilation fixes for diag and switch under 2.6.25 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11231 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/switch/src/gpio-bcm947xx.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'package/switch') 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; -- cgit v1.2.3