Skip to content

Commit

Permalink
usb: xhci: move xhci.h to include usb
Browse files Browse the repository at this point in the history
The xhci.h header file is currently located under drivers/usb/xhci
Move it to the include/usb folder to make it available to drivers that
are not under drivers/usb/xhci

Signed-off-by: Jean-Jacques Hiblot <[email protected]>
  • Loading branch information
Jean-Jacques Hiblot authored and Marek Vasut committed Oct 24, 2019
1 parent bbe3d4a commit 1708a12
Show file tree
Hide file tree
Showing 14 changed files with 13 additions and 12 deletions.
1 change: 1 addition & 0 deletions MAINTAINERS
Original file line number Diff line number Diff line change
Expand Up @@ -851,6 +851,7 @@ M: Bin Meng <[email protected]>
S: Maintained
T: git https://gitlab.denx.de/u-boot/custodians/u-boot-usb.git topic-xhci
F: drivers/usb/host/xhci*
F: include/usb/xhci.h

VIDEO
M: Anatolij Gustschin <[email protected]>
Expand Down
2 changes: 1 addition & 1 deletion drivers/usb/host/xhci-dwc3.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
#include <usb.h>
#include <dwc3-uboot.h>

#include "xhci.h"
#include <usb/xhci.h>
#include <asm/io.h>
#include <linux/usb/dwc3.h>
#include <linux/usb/otg.h>
Expand Down
2 changes: 1 addition & 1 deletion drivers/usb/host/xhci-exynos5.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
#include <linux/compat.h>
#include <linux/usb/dwc3.h>

#include "xhci.h"
#include <usb/xhci.h>

/* Declare global data pointer */
DECLARE_GLOBAL_DATA_PTR;
Expand Down
2 changes: 1 addition & 1 deletion drivers/usb/host/xhci-fsl.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
#include <linux/compat.h>
#include <linux/usb/xhci-fsl.h>
#include <linux/usb/dwc3.h>
#include "xhci.h"
#include <usb/xhci.h>
#include <fsl_errata.h>
#include <fsl_usb.h>
#include <dm.h>
Expand Down
2 changes: 1 addition & 1 deletion drivers/usb/host/xhci-mem.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
#include <asm/cache.h>
#include <linux/errno.h>

#include "xhci.h"
#include <usb/xhci.h>

#define CACHELINE_SIZE CONFIG_SYS_CACHELINE_SIZE
/**
Expand Down
2 changes: 1 addition & 1 deletion drivers/usb/host/xhci-mvebu.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
#include <power/regulator.h>
#include <asm/gpio.h>

#include "xhci.h"
#include <usb/xhci.h>

struct mvebu_xhci_platdata {
fdt_addr_t hcd_base;
Expand Down
2 changes: 1 addition & 1 deletion drivers/usb/host/xhci-omap.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
#include <linux/usb/dwc3.h>
#include <linux/usb/xhci-omap.h>

#include "xhci.h"
#include <usb/xhci.h>

/* Declare global data pointer */
static struct omap_xhci omap;
Expand Down
2 changes: 1 addition & 1 deletion drivers/usb/host/xhci-pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#include <dm.h>
#include <pci.h>
#include <usb.h>
#include "xhci.h"
#include <usb/xhci.h>

static void xhci_pci_init(struct udevice *dev, struct xhci_hccr **ret_hccr,
struct xhci_hcor **ret_hcor)
Expand Down
2 changes: 1 addition & 1 deletion drivers/usb/host/xhci-rcar.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
#include <usb.h>
#include <wait_bit.h>

#include "xhci.h"
#include <usb/xhci.h>
#include "xhci-rcar-r8a779x_usb3_v3.h"

/* Register Offset */
Expand Down
2 changes: 1 addition & 1 deletion drivers/usb/host/xhci-ring.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
#include <asm/unaligned.h>
#include <linux/errno.h>

#include "xhci.h"
#include <usb/xhci.h>

/**
* Is this TRB a link TRB or was the last TRB the last TRB in this event ring
Expand Down
2 changes: 1 addition & 1 deletion drivers/usb/host/xhci-rockchip.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
#include <linux/usb/dwc3.h>
#include <power/regulator.h>

#include "xhci.h"
#include <usb/xhci.h>

struct rockchip_xhci_platdata {
fdt_addr_t hcd_base;
Expand Down
2 changes: 1 addition & 1 deletion drivers/usb/host/xhci.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
#include <asm/cache.h>
#include <asm/unaligned.h>
#include <linux/errno.h>
#include "xhci.h"
#include <usb/xhci.h>

#ifndef CONFIG_USB_MAX_CONTROLLER_COUNT
#define CONFIG_USB_MAX_CONTROLLER_COUNT 1
Expand Down
2 changes: 1 addition & 1 deletion drivers/usb/phy/omap_usb_phy.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
#include <linux/usb/dwc3.h>
#include <linux/usb/xhci-omap.h>

#include "../host/xhci.h"
#include <usb/xhci.h>

#ifdef CONFIG_OMAP_USB3PHY1_HOST
struct usb3_dpll_params {
Expand Down
File renamed without changes.

0 comments on commit 1708a12

Please sign in to comment.