r4417 - trunk/src/host/qemu-neo1973
andrew at docs.openmoko.org
andrew at docs.openmoko.org
Thu May 8 22:28:54 CEST 2008
Author: andrew
Date: 2008-05-08 22:28:53 +0200 (Thu, 08 May 2008)
New Revision: 4417
Modified:
trunk/src/host/qemu-neo1973/usb-linux-gadget.c
Log:
Teach qemu the post 2.6.22 #include paths for usb gadgetfs (Thilo Fromm).
Modified: trunk/src/host/qemu-neo1973/usb-linux-gadget.c
===================================================================
--- trunk/src/host/qemu-neo1973/usb-linux-gadget.c 2008-05-08 11:37:04 UTC (rev 4416)
+++ trunk/src/host/qemu-neo1973/usb-linux-gadget.c 2008-05-08 20:28:53 UTC (rev 4417)
@@ -26,9 +26,12 @@
# if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 21)
# include <linux/usb_ch9.h>
# include <linux/usb_gadgetfs.h>
+# elif LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 23)
+# include <linux/usb/ch9.h>
+# include <linux/usb_gadgetfs.h>
# else
# include <linux/usb/ch9.h>
-# include <linux/usb_gadgetfs.h>
+# include <linux/usb/gadgetfs.h>
# endif
# include <poll.h>
# include <signal.h>
More information about the commitlog
mailing list