diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2008-11-30 19:23:03 +0000 |
---|---|---|
committer | Lars-Peter Clausen <lars@metafoo.de> | 2008-11-30 19:23:03 +0000 |
commit | dd6e0afc454be9bd0bde797a50da34035f1bd196 (patch) | |
tree | 0406f5187b432b874f083160cad9405141a85a3e | |
parent | 083320dbe2b4027dc4e6bbd9a14aa87d76c8a2bb (diff) | |
download | mtk-20170518-dd6e0afc454be9bd0bde797a50da34035f1bd196.zip mtk-20170518-dd6e0afc454be9bd0bde797a50da34035f1bd196.tar.gz mtk-20170518-dd6e0afc454be9bd0bde797a50da34035f1bd196.tar.bz2 |
Fix compile for olpc target.
SVN-Revision: 13451
-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 74ac86e..97a8119 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 3291ced..f6820da 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> |