
On 1/14/25 3:45 PM, Patrice Chotard wrote:
Reorder include following rules available here : https://docs.u-boot.org/en/latest/develop/codingstyle.html#include-files
Signed-off-by: Patrice Chotard patrice.chotard@foss.st.com Cc: Marek Vasut marex@denx.de
drivers/usb/dwc3/dwc3-generic.c | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-)
diff --git a/drivers/usb/dwc3/dwc3-generic.c b/drivers/usb/dwc3/dwc3-generic.c index 2ab41cbae45..cb96e1f344f 100644 --- a/drivers/usb/dwc3/dwc3-generic.c +++ b/drivers/usb/dwc3/dwc3-generic.c @@ -7,29 +7,28 @@
- Based on dwc3-omap.c.
*/
+#include <clk.h> #include <cpu_func.h> -#include <log.h> #include <dm.h> -#include <dm/device-internal.h> -#include <dm/lists.h> #include <dwc3-uboot.h> #include <generic-phy.h> +#include <log.h> +#include <malloc.h> +#include <reset.h> +#include <usb.h> +#include <asm/gpio.h> +#include <dm/device-internal.h> +#include <dm/lists.h> #include <linux/bitops.h> #include <linux/delay.h> #include <linux/printk.h> #include <linux/usb/ch9.h> #include <linux/usb/gadget.h> -#include <malloc.h> #include <power/regulator.h> -#include <usb.h> -#include "core.h" -#include "gadget.h" -#include <reset.h> -#include <clk.h> #include <usb/xhci.h> -#include <asm/gpio.h>
Can you remove some of them too ?