[PATCH] Don't include <asm/olpc.h> unconditionally

Chris Ball cjb at laptop.org
Thu Jun 7 21:18:48 EDT 2007


.. because it breaks the build on non-OLPC.

Signed-off-by: Chris Ball <cjb at laptop.org>
---
 drivers/net/wireless/libertas/if_usb.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/drivers/net/wireless/libertas/if_usb.c b/drivers/net/wireless/libertas/if_usb.c
index ab21779..a928a40 100644
--- a/drivers/net/wireless/libertas/if_usb.c
+++ b/drivers/net/wireless/libertas/if_usb.c
@@ -8,7 +8,10 @@
 #include <linux/list.h>
 #include <linux/usb.h>
 #include <asm/io.h>
+
+#ifdef CONFIG_OLPC
 #include <asm/olpc.h>
+#endif

 #define DRV_NAME "usb8xxx"


-- 
Chris Ball   <cjb at laptop.org>



More information about the libertas-dev mailing list