Patchwork [U-Boot,v2,1/6] usb: omap: Move the xhci-omap header file to common location

login
register
mail settings
Submitter Dan Murphy
Date Oct. 11, 2013, 5:28 p.m.
Message ID <1381512499-11504-2-git-send-email-dmurphy@ti.com>
Download mbox | patch
Permalink /patch/282864/
State Accepted
Delegated to: Marek Vasut
Headers show

Comments

Dan Murphy - Oct. 11, 2013, 5:28 p.m.
Moving the xhci-omap header to a more global location so that
other code can reference this code.

Signed-off-by: Dan Murphy <dmurphy@ti.com>
---

v2 - Reformatted patch with -M - http://patchwork.ozlabs.org/patch/281933/

 drivers/usb/host/xhci-omap.c                       |    2 +-
 .../arch-omap5 => include/linux/usb}/xhci-omap.h   |    0
 2 files changed, 1 insertion(+), 1 deletion(-)
 rename {arch/arm/include/asm/arch-omap5 => include/linux/usb}/xhci-omap.h (100%)

diff --git a/arch/arm/include/asm/arch-omap5/xhci-omap.h b/include/linux/usb/xhci-omap.h
similarity index 100%
rename from arch/arm/include/asm/arch-omap5/xhci-omap.h
rename to include/linux/usb/xhci-omap.h

Patch

diff --git a/drivers/usb/host/xhci-omap.c b/drivers/usb/host/xhci-omap.c
index f4e41fd..a8702da 100644
--- a/drivers/usb/host/xhci-omap.c
+++ b/drivers/usb/host/xhci-omap.c
@@ -15,10 +15,10 @@ 
 #include <asm/omap_common.h>
 #include <asm/arch/cpu.h>
 #include <asm/arch/sys_proto.h>
-#include <asm/arch/xhci-omap.h>
 
 #include <linux/compat.h>
 #include <linux/usb/dwc3.h>
+#include <linux/usb/xhci-omap.h>
 
 #include "xhci.h"