[U-Boot] [PATCH v3 19/21] net: cosmetic: Alphabetize includes in net.c

Joe Hershberger joe.hershberger at ni.com
Wed May 23 19:58:15 CEST 2012


Easier to find when alphabetized

Signed-off-by: Joe Hershberger <joe.hershberger at ni.com>
Cc: Joe Hershberger <joe.hershberger at gmail.com>
---
Changes for v2:
   - Split from "Improve variable names and code readability"
Changes for v3:
   - Slight adjustment to order as recommended by Simon

 net/net.c |   24 ++++++++++++------------
 1 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/net/net.c b/net/net.c
index f6d294e..de5352c 100644
--- a/net/net.c
+++ b/net/net.c
@@ -75,27 +75,27 @@
 
 
 #include <common.h>
-#include <watchdog.h>
 #include <command.h>
-#include <linux/compiler.h>
 #include <net.h>
-#include "arp.h"
-#include "bootp.h"
-#include "tftp.h"
-#include "rarp.h"
-#include "nfs.h"
-#ifdef CONFIG_STATUS_LED
-#include <status_led.h>
+#if defined(CONFIG_STATUS_LED)
 #include <miiphy.h>
+#include <status_led.h>
 #endif
-#if defined(CONFIG_CMD_SNTP)
-#include "sntp.h"
-#endif
+#include <watchdog.h>
+#include <linux/compiler.h>
+#include "arp.h"
+#include "bootp.h"
 #include "cdp.h"
 #if defined(CONFIG_CMD_DNS)
 #include "dns.h"
 #endif
+#include "nfs.h"
 #include "ping.h"
+#include "rarp.h"
+#if defined(CONFIG_CMD_SNTP)
+#include "sntp.h"
+#endif
+#include "tftp.h"
 
 DECLARE_GLOBAL_DATA_PTR;
 
-- 
1.6.0.2



More information about the U-Boot mailing list