diff options
author | lars <lars@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2008-11-30 19:23:03 +0000 |
---|---|---|
committer | lars <lars@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2008-11-30 19:23:03 +0000 |
commit | 49544367ca28f8dad57f5b8de841deedceab8c19 (patch) | |
tree | d1254524c77eb526e59b8b9ec88288116d1a8a36 /package/libertas/src | |
parent | ff53a4a17c5acfa705b127ac02e2a4d70e3ff6fe (diff) |
Fix compile for olpc target.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13451 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/libertas/src')
-rw-r--r-- | package/libertas/src/if_usb.c | 4 | ||||
-rw-r--r-- | package/libertas/src/main.c | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/package/libertas/src/if_usb.c b/package/libertas/src/if_usb.c index 74ac86ea3..97a811901 100644 --- a/package/libertas/src/if_usb.c +++ b/package/libertas/src/if_usb.c @@ -6,7 +6,9 @@ #include <linux/firmware.h> #include <linux/netdevice.h> #include <linux/usb.h> -//#include <asm/olpc.h> +#ifdef CONFIG_OLPC +#include <asm/olpc.h> +#endif #define DRV_NAME "usb8xxx" diff --git a/package/libertas/src/main.c b/package/libertas/src/main.c index 3291cedf1..f6820da76 100644 --- a/package/libertas/src/main.c +++ b/package/libertas/src/main.c @@ -11,7 +11,9 @@ #include <linux/if_arp.h> #include <linux/kthread.h> #include <linux/kfifo.h> -//#include <asm/olpc.h> +#ifdef CONFIG_OLPC +#include <asm/olpc.h> +#endif #include <net/iw_handler.h> #include <net/ieee80211.h> |