gadgetfs-test-fix-usb-ch9-include.patch 920 B

12345678910111213141516171819202122232425262728293031323334353637383940
  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
  5. Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
  6. ---
  7. usb.c | 2 +-
  8. usbstring.c | 2 +-
  9. 2 files changed, 2 insertions(+), 2 deletions(-)
  10. diff --git a/usb.c b/usb.c
  11. index ea6c7de..b161154 100644
  12. --- a/usb.c
  13. +++ b/usb.c
  14. @@ -35,7 +35,7 @@
  15. #include <linux/types.h>
  16. #include <linux/usb_gadgetfs.h>
  17. -#include <linux/usb_ch9.h>
  18. +#include <linux/usb/ch9.h>
  19. #ifdef AIO
  20. /* this aio code works with libaio-0.3.106 */
  21. diff --git a/usbstring.c b/usbstring.c
  22. index 4bf2965..993acc2 100644
  23. --- a/usbstring.c
  24. +++ b/usbstring.c
  25. @@ -11,7 +11,7 @@
  26. #include <string.h>
  27. #include <linux/types.h>
  28. -#include <linux/usb_ch9.h>
  29. +#include <linux/usb/ch9.h>
  30. #include "usbstring.h"
  31. --
  32. 1.5.2.2