bump version
[buildroot.git] / package / gadgetfs-test / gadgetfs-test-fix-usb-ch9-include.patch
blob3d7ce82b4f2e391f331a3999e52870c549b22793
1 From 8cf5909c6f8e0a892155dea14a07adfad445762d Mon Sep 17 00:00:00 2001
2 From: Haavard Skinnemoen <hskinnemoen@atmel.com>
3 Date: Sat, 23 Jun 2007 18:34:09 +0200
4 Subject: [PATCH] Include usb/ch9.h instead of usb_ch9.h
6 Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
7 ---
8 usb.c | 2 +-
9 usbstring.c | 2 +-
10 2 files changed, 2 insertions(+), 2 deletions(-)
12 diff --git a/usb.c b/usb.c
13 index ea6c7de..b161154 100644
14 --- a/usb.c
15 +++ b/usb.c
16 @@ -35,7 +35,7 @@
18 #include <linux/types.h>
19 #include <linux/usb_gadgetfs.h>
20 -#include <linux/usb_ch9.h>
21 +#include <linux/usb/ch9.h>
23 #ifdef AIO
24 /* this aio code works with libaio-0.3.106 */
25 diff --git a/usbstring.c b/usbstring.c
26 index 4bf2965..993acc2 100644
27 --- a/usbstring.c
28 +++ b/usbstring.c
29 @@ -11,7 +11,7 @@
30 #include <string.h>
32 #include <linux/types.h>
33 -#include <linux/usb_ch9.h>
34 +#include <linux/usb/ch9.h>
36 #include "usbstring.h"
38 --
39 1.5.2.2