[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
This commit is contained in:
Peter Denison
2008-05-20 22:33:45 +00:00
parent df83a6c4c8
commit a824434922
3 changed files with 17 additions and 4 deletions

View File

@@ -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;