[U-Boot] [PATCH 16/39] dm: sata: dw_sata: Sort #include directives
Simon Glass
sjg at chromium.org
Tue Jul 4 19:49:08 UTC 2017
Sort the header file inclusions into the correct order.
Signed-off-by: Simon Glass <sjg at chromium.org>
---
drivers/ata/dwc_ahsata.c | 13 ++++++-------
1 file changed, 6 insertions(+), 7 deletions(-)
diff --git a/drivers/ata/dwc_ahsata.c b/drivers/ata/dwc_ahsata.c
index 63e7b7d7a1..b6915d217b 100644
--- a/drivers/ata/dwc_ahsata.c
+++ b/drivers/ata/dwc_ahsata.c
@@ -5,19 +5,18 @@
* SPDX-License-Identifier: GPL-2.0+
*/
-#include <libata.h>
+#include <common.h>
#include <ahci.h>
#include <fis.h>
-#include <sata.h>
-
-#include <common.h>
+#include <libata.h>
#include <malloc.h>
-#include <linux/ctype.h>
-#include <linux/errno.h>
+#include <sata.h>
#include <asm/io.h>
-#include <linux/bitops.h>
#include <asm/arch/clock.h>
#include <asm/arch/sys_proto.h>
+#include <linux/bitops.h>
+#include <linux/ctype.h>
+#include <linux/errno.h>
#include "dwc_ahsata.h"
struct sata_port_regs {
--
2.13.2.725.g09c95d1e9-goog
More information about the U-Boot
mailing list