Use linux/semaphore.h instead of asm/semaphore.h (which doesn't exist) to get 
lirc package compiling.

Signed off by: Michael Geddes <michael at frog dot wheelycreek dot net>
---
Index: packages/utils/lirc/patches/110-lirc_dev.patch
===================================================================
--- packages/utils/lirc/patches/110-lirc_dev.patch      (revision 0)
+++ packages/utils/lirc/patches/110-lirc_dev.patch      (revision 0)
@@ -0,0 +1,11 @@
+--- a/drivers/lirc_dev/lirc_dev.orig
++++ b/drivers/lirc_dev/lirc_dev.c
+@@ -49,7 +49,7 @@
+ #include <linux/uaccess.h>
+ #include <linux/errno.h>
+ #endif
+-#include <asm/semaphore.h>
++#include <linux/semaphore.h>
+ #if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 0)
+ #include <linux/wrapper.h>
+ #endif

_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to