From f027ecb2cf9b1a1c6cab6f5e4a9d99c49bced63c Mon Sep 17 00:00:00 2001 From: Peter Denison Date: Tue, 20 May 2008 22:33:45 +0000 Subject: Stopgap compilation fixes for diag and switch under 2.6.25 SVN-Revision: 11231 --- 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 9417bce2a1..9135f916a7 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