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

Marek Vasut marex at denx.de
Wed Feb 19 18:07:52 CET 2020


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>
>  
> 


More information about the U-Boot mailing list