diff mbox series

[08/10] usb: dwc3: core: reorder the header file including sequence

Message ID 20200219015447.19392-9-kever.yang@rock-chips.com
State New
Headers show
Series usb: Covert to support Live DT | expand

Commit Message

Kever Yang Feb. 19, 2020, 1:54 a.m. UTC
Make the including header file in correct sequence.

Signed-off-by: Kever Yang <kever.yang at rock-chips.com>
---

 drivers/usb/dwc3/core.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Comments

Marek Vasut Feb. 19, 2020, 5:07 p.m. UTC | #1
On 2/19/20 2:54 AM, Kever Yang wrote:
> Make the including header file in correct sequence.

How is this sequence more correct than the previous one ?

> Signed-off-by: Kever Yang <kever.yang at rock-chips.com>
> ---
> 
>  drivers/usb/dwc3/core.c | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/drivers/usb/dwc3/core.c b/drivers/usb/dwc3/core.c
> index 77c555e769..504d85a9b7 100644
> --- a/drivers/usb/dwc3/core.c
> +++ b/drivers/usb/dwc3/core.c
> @@ -15,12 +15,12 @@
>  
>  #include <common.h>
>  #include <cpu_func.h>
> -#include <malloc.h>
> +#include <dm.h>
>  #include <dwc3-uboot.h>
> +#include <generic-phy.h>
> +#include <malloc.h>
>  #include <asm/dma-mapping.h>
>  #include <linux/ioport.h>
> -#include <dm.h>
> -#include <generic-phy.h>
>  #include <linux/usb/ch9.h>
>  #include <linux/usb/gadget.h>
>  
>
diff mbox series

Patch

diff --git a/drivers/usb/dwc3/core.c b/drivers/usb/dwc3/core.c
index 77c555e769..504d85a9b7 100644
--- a/drivers/usb/dwc3/core.c
+++ b/drivers/usb/dwc3/core.c
@@ -15,12 +15,12 @@ 
 
 #include <common.h>
 #include <cpu_func.h>
-#include <malloc.h>
+#include <dm.h>
 #include <dwc3-uboot.h>
+#include <generic-phy.h>
+#include <malloc.h>
 #include <asm/dma-mapping.h>
 #include <linux/ioport.h>
-#include <dm.h>
-#include <generic-phy.h>
 #include <linux/usb/ch9.h>
 #include <linux/usb/gadget.h>