[U-Boot] [PATCH v2 17/40] dm: sata: dw_sata: Sort #include directives
Simon Glass
sjg at chromium.org
Sat Jul 29 17:35:08 UTC 2017
Sort the header file inclusions into the correct order.
Signed-off-by: Simon Glass <sjg at chromium.org>
---
Changes in v2: None
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.14.0.rc0.400.g1c36432dff-goog
More information about the U-Boot
mailing list