Patchwork [U-Boot,v2] usb: Move ehci.h and ehci-core.h to include/usb directory

login
register
mail settings
Submitter Fabio Estevam
Date Oct. 14, 2011, 3:31 p.m.
Message ID <1318606270-24923-1-git-send-email-fabio.estevam@freescale.com>
Download mbox | patch
Permalink /patch/119821/
State Superseded
Delegated to: Marek Vasut
Headers show

Comments

Fabio Estevam - Oct. 14, 2011, 3:31 p.m.
Move ehci.h and ehci-core.h to include/usb directory.

Cc: Remy Bohmer <linux@bohmer.net>
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
---
Changes since v1:
- Properly do the file rename via git

 drivers/usb/host/ehci-fsl.c                   |    4 ++--
 drivers/usb/host/ehci-hcd.c                   |    2 +-
 drivers/usb/host/ehci-ixp4xx.c                |    5 +++--
 drivers/usb/host/ehci-kirkwood.c              |    4 ++--
 drivers/usb/host/ehci-mpc512x.c               |    4 ++--
 drivers/usb/host/ehci-mxc.c                   |    4 ++--
 drivers/usb/host/ehci-pci.c                   |    4 ++--
 drivers/usb/host/ehci-ppc4xx.c                |    4 ++--
 drivers/usb/host/ehci-vct.c                   |    4 ++--
 {drivers/usb/host => include/usb}/ehci-core.h |    0
 {drivers/usb/host => include/usb}/ehci.h      |    0
 11 files changed, 18 insertions(+), 17 deletions(-)
 rename {drivers/usb/host => include/usb}/ehci-core.h (100%)
 rename {drivers/usb/host => include/usb}/ehci.h (100%)

diff --git a/drivers/usb/host/ehci-core.h b/include/usb/ehci-core.h
similarity index 100%
rename from drivers/usb/host/ehci-core.h
rename to include/usb/ehci-core.h
diff --git a/drivers/usb/host/ehci.h b/include/usb/ehci.h
similarity index 100%
rename from drivers/usb/host/ehci.h
rename to include/usb/ehci.h
Fabio Estevam - Oct. 25, 2011, 5:38 p.m.
Hi Remy,

On Fri, Oct 14, 2011 at 12:31 PM, Fabio Estevam
<fabio.estevam@freescale.com> wrote:
> Move ehci.h and ehci-core.h to include/usb directory.
>
> Cc: Remy Bohmer <linux@bohmer.net>
> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
> ---
> Changes since v1:
> - Properly do the file rename via git
>
>  drivers/usb/host/ehci-fsl.c                   |    4 ++--
>  drivers/usb/host/ehci-hcd.c                   |    2 +-
>  drivers/usb/host/ehci-ixp4xx.c                |    5 +++--
>  drivers/usb/host/ehci-kirkwood.c              |    4 ++--
>  drivers/usb/host/ehci-mpc512x.c               |    4 ++--
>  drivers/usb/host/ehci-mxc.c                   |    4 ++--
>  drivers/usb/host/ehci-pci.c                   |    4 ++--
>  drivers/usb/host/ehci-ppc4xx.c                |    4 ++--
>  drivers/usb/host/ehci-vct.c                   |    4 ++--
>  {drivers/usb/host => include/usb}/ehci-core.h |    0
>  {drivers/usb/host => include/usb}/ehci.h      |    0
>  11 files changed, 18 insertions(+), 17 deletions(-)
>  rename {drivers/usb/host => include/usb}/ehci-core.h (100%)
>  rename {drivers/usb/host => include/usb}/ehci.h (100%)

Any comments about this patch?

Regards,

Fabio Estevam

Patch

diff --git a/drivers/usb/host/ehci-fsl.c b/drivers/usb/host/ehci-fsl.c
index 5a65d92..073208e 100644
--- a/drivers/usb/host/ehci-fsl.c
+++ b/drivers/usb/host/ehci-fsl.c
@@ -28,8 +28,8 @@ 
 #include <usb/ehci-fsl.h>
 #include <hwconfig.h>
 
-#include "ehci.h"
-#include "ehci-core.h"
+#include <usb/ehci.h>
+#include <usb/ehci-core.h>
 
 /*
  * Create the appropriate control structures to manage
diff --git a/drivers/usb/host/ehci-hcd.c b/drivers/usb/host/ehci-hcd.c
index 2197119..bdadd46 100644
--- a/drivers/usb/host/ehci-hcd.c
+++ b/drivers/usb/host/ehci-hcd.c
@@ -27,7 +27,7 @@ 
 #include <malloc.h>
 #include <watchdog.h>
 
-#include "ehci.h"
+#include <usb/ehci.h>
 
 int rootdev;
 struct ehci_hccr *hccr;	/* R/O registers, not need for volatile */
diff --git a/drivers/usb/host/ehci-ixp4xx.c b/drivers/usb/host/ehci-ixp4xx.c
index b8f15ae..5d4218d 100644
--- a/drivers/usb/host/ehci-ixp4xx.c
+++ b/drivers/usb/host/ehci-ixp4xx.c
@@ -22,8 +22,9 @@ 
 #include <common.h>
 #include <usb.h>
 
-#include "ehci.h"
-#include "ehci-core.h"
+#include <usb/ehci.h>
+#include <usb/ehci-core.h>
+
 /*
  * Create the appropriate control structures to manage
  * a new EHCI host controller.
diff --git a/drivers/usb/host/ehci-kirkwood.c b/drivers/usb/host/ehci-kirkwood.c
index 5570fc6..ab75acd 100644
--- a/drivers/usb/host/ehci-kirkwood.c
+++ b/drivers/usb/host/ehci-kirkwood.c
@@ -25,8 +25,8 @@ 
 #include <common.h>
 #include <asm/io.h>
 #include <usb.h>
-#include "ehci.h"
-#include "ehci-core.h"
+#include <usb/ehci.h>
+#include <usb/ehci-core.h>
 #include <asm/arch/kirkwood.h>
 
 #define rdl(off)	readl(KW_USB20_BASE + (off))
diff --git a/drivers/usb/host/ehci-mpc512x.c b/drivers/usb/host/ehci-mpc512x.c
index d360108..8d2c93b 100644
--- a/drivers/usb/host/ehci-mpc512x.c
+++ b/drivers/usb/host/ehci-mpc512x.c
@@ -32,8 +32,8 @@ 
 #include <asm/io.h>
 #include <usb/ehci-fsl.h>
 
-#include "ehci.h"
-#include "ehci-core.h"
+#include <usb/ehci.h>
+#include <usb/ehci-core.h>
 
 static void fsl_setup_phy(volatile struct ehci_hcor *);
 static void fsl_platform_set_host_mode(volatile struct usb_ehci *ehci);
diff --git a/drivers/usb/host/ehci-mxc.c b/drivers/usb/host/ehci-mxc.c
index a0cfbb7..fde1f0f 100644
--- a/drivers/usb/host/ehci-mxc.c
+++ b/drivers/usb/host/ehci-mxc.c
@@ -24,8 +24,8 @@ 
 #include <usb/ehci-fsl.h>
 #include <errno.h>
 
-#include "ehci.h"
-#include "ehci-core.h"
+#include <usb/ehci.h>
+#include <usb/ehci-core.h>
 
 #define USBCTRL_OTGBASE_OFFSET	0x600
 
diff --git a/drivers/usb/host/ehci-pci.c b/drivers/usb/host/ehci-pci.c
index 020ab11..e1f84d9 100644
--- a/drivers/usb/host/ehci-pci.c
+++ b/drivers/usb/host/ehci-pci.c
@@ -22,8 +22,8 @@ 
 #include <pci.h>
 #include <usb.h>
 
-#include "ehci.h"
-#include "ehci-core.h"
+#include <usb/ehci.h>
+#include <usb/ehci-core.h>
 
 #ifdef CONFIG_PCI_EHCI_DEVICE
 static struct pci_device_id ehci_pci_ids[] = {
diff --git a/drivers/usb/host/ehci-ppc4xx.c b/drivers/usb/host/ehci-ppc4xx.c
index 1179919..1a1fae1 100644
--- a/drivers/usb/host/ehci-ppc4xx.c
+++ b/drivers/usb/host/ehci-ppc4xx.c
@@ -22,8 +22,8 @@ 
 #include <common.h>
 #include <usb.h>
 
-#include "ehci.h"
-#include "ehci-core.h"
+#include <usb/ehci.h>
+#include <usb/ehci-core.h>
 
 /*
  * Create the appropriate control structures to manage
diff --git a/drivers/usb/host/ehci-vct.c b/drivers/usb/host/ehci-vct.c
index 3063dd1..e73cf38 100644
--- a/drivers/usb/host/ehci-vct.c
+++ b/drivers/usb/host/ehci-vct.c
@@ -20,8 +20,8 @@ 
 #include <common.h>
 #include <usb.h>
 
-#include "ehci.h"
-#include "ehci-core.h"
+#include <usb/ehci.h>
+#include <usb/ehci-core.h>
 
 int vct_ehci_hcd_init(u32 *hccr, u32 *hcor);