• Skip to sidebar navigation
  • Skip to content

Bitbucket

  • More
    ProjectsRepositories
  • Help
    • Online help
    • Learn Git
    • Welcome to Bitbucket
    • Keyboard shortcuts
  • Log In
Alexander Dahl
  1. Alexander Dahl

buildroot

Public
Actions
  • Clone
  • Compare

Learn more about cloning repositories

You have read-only access

Navigation
  • Source
  • Commits
  • Branches
  • All Branches Graph
  • Forks
  1. Alexander Dahl
  2. buildroot

Source

buildroot/package/gadgetfs-test/0001-fix-usb-ch9-include.patch
Peter KorsgaardPeter Korsgaard committed 298cd8eaa2103 Feb 2015
Raw file
Source viewDiff to previous
 
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
​
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(-)
11
​
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 @@
17
 
18
 #include <linux/types.h>
19
 #include <linux/usb_gadgetfs.h>
20
-#include <linux/usb_ch9.h>
21
+#include <linux/usb/ch9.h>
22
 
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>
31
 
32
 #include <linux/types.h>
33
-#include <linux/usb_ch9.h>
34
+#include <linux/usb/ch9.h>
35
 
36
 #include "usbstring.h"
37
 
38
-- 
39
1.5.2.2
40
​
  • Git repository management for enterprise teams powered by Atlassian Bitbucket
  • Atlassian Bitbucket v6.7.2
  • Documentation
  • Request a feature
  • About
  • Contact Atlassian
Atlassian

Everything looks good. We'll let you know here if there's anything you should know about.