[PATCH 1/3] Include correct header files

Haavard Skinnemoen <[email protected]>
Newsgroups gmane.linux.usb.devel
Message-ID <[email protected]>
The gadgetfs.h and ch9.h header files have been moved under linux/usb in
recent kernels.

Signed-off-by: Haavard Skinnemoen <[email protected]>
---
 usb.c       |    4 ++--
 usbstring.c |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/usb.c b/usb.c
index ea6c7de..24a443d 100644
--- a/usb.c
+++ b/usb.c
@@ -34,8 +34,8 @@
 #include <asm/byteorder.h>
 
 #include <linux/types.h>
-#include <linux/usb_gadgetfs.h>
-#include <linux/usb_ch9.h>
+#include <linux/usb/gadgetfs.h>
+#include <linux/usb/ch9.h>
 
 #ifdef	AIO
 /* this aio code works with libaio-0.3.106 */
diff --git a/usbstring.c b/usbstring.c
index 4bf2965..993acc2 100644
--- a/usbstring.c
+++ b/usbstring.c
@@ -11,7 +11,7 @@
 #include <string.h>
 
 #include <linux/types.h>
-#include <linux/usb_ch9.h>
+#include <linux/usb/ch9.h>
 
 #include "usbstring.h"
 
-- 
1.5.3.1


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.