diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2023-03-20 09:03:43 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2023-03-20 16:05:12 +0100 |
commit | 253e3e4f47bfbc2919dbe9e0dce35f054009cdb6 (patch) | |
tree | 722b728d788adc24c97c1d367255355cb14486a1 /commands | |
parent | 37ea6d0f30d45b4ad5539a9748ebf5e4e5635132 (diff) | |
download | barebox-253e3e4f47bfbc2919dbe9e0dce35f054009cdb6.tar.gz barebox-253e3e4f47bfbc2919dbe9e0dce35f054009cdb6.tar.xz |
usb: move include files to place where Linux has them
For easier patch merging and comparison with Linux move the usb
gadget files to where Linux has them. For now do a plain git mv
include/usb include/linux/usb, eventhough there might be some
files which are purely barebox specific.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'commands')
-rw-r--r-- | commands/dfu.c | 4 | ||||
-rw-r--r-- | commands/usb.c | 2 | ||||
-rw-r--r-- | commands/usbgadget.c | 6 | ||||
-rw-r--r-- | commands/usbserial.c | 2 |
4 files changed, 7 insertions, 7 deletions
diff --git a/commands/dfu.c b/commands/dfu.c index 1734947fe0..2116747f68 100644 --- a/commands/dfu.c +++ b/commands/dfu.c @@ -10,8 +10,8 @@ #include <getopt.h> #include <fs.h> #include <xfuncs.h> -#include <usb/dfu.h> -#include <usb/gadget-multi.h> +#include <linux/usb/dfu.h> +#include <linux/usb/gadget-multi.h> #include <linux/err.h> /* dfu /dev/self0(bootloader)sr,/dev/nand0.root.bb(root) diff --git a/commands/usb.c b/commands/usb.c index ca8d3e0d52..0588ba6968 100644 --- a/commands/usb.c +++ b/commands/usb.c @@ -6,7 +6,7 @@ #include <common.h> #include <command.h> #include <complete.h> -#include <usb/usb.h> +#include <linux/usb/usb.h> #include <getopt.h> /* shows the device tree recursively */ diff --git a/commands/usbgadget.c b/commands/usbgadget.c index 290f33eff3..d0dcde69ce 100644 --- a/commands/usbgadget.c +++ b/commands/usbgadget.c @@ -12,9 +12,9 @@ #include <getopt.h> #include <fs.h> #include <xfuncs.h> -#include <usb/usbserial.h> -#include <usb/dfu.h> -#include <usb/gadget-multi.h> +#include <linux/usb/usbserial.h> +#include <linux/usb/dfu.h> +#include <linux/usb/gadget-multi.h> static int do_usbgadget(int argc, char *argv[]) { diff --git a/commands/usbserial.c b/commands/usbserial.c index 567018c233..17a4afec42 100644 --- a/commands/usbserial.c +++ b/commands/usbserial.c @@ -11,7 +11,7 @@ #include <getopt.h> #include <fs.h> #include <xfuncs.h> -#include <usb/usbserial.h> +#include <linux/usb/usbserial.h> static int do_usbserial(int argc, char *argv[]) { |