[U-Boot] [PATCH 3/3] drivers: kconfig: Sort driver menu in alphabetical order

Bin Meng bmeng.cn at gmail.com
Fri Aug 21 07:44:16 CEST 2015


Sort different types of drivers in alphabetical order.

Signed-off-by: Bin Meng <bmeng.cn at gmail.com>
---

 drivers/Kconfig | 50 ++++++++++++++++++++++++++------------------------
 1 file changed, 26 insertions(+), 24 deletions(-)

diff --git a/drivers/Kconfig b/drivers/Kconfig
index 9d0df9b..524d73e 100644
--- a/drivers/Kconfig
+++ b/drivers/Kconfig
@@ -2,63 +2,65 @@ menu "Device Drivers"
 
 source "drivers/core/Kconfig"
 
+# types of drivers sorted in alphabetical order
+
+source "drivers/block/Kconfig"
+
 source "drivers/clk/Kconfig"
 
 source "drivers/cpu/Kconfig"
 
-source "drivers/demo/Kconfig"
+source "drivers/crypto/Kconfig"
 
-source "drivers/pci/Kconfig"
+source "drivers/demo/Kconfig"
 
-source "drivers/pcmcia/Kconfig"
+source "drivers/dfu/Kconfig"
 
-source "drivers/mtd/Kconfig"
+source "drivers/dma/Kconfig"
 
-source "drivers/block/Kconfig"
+source "drivers/gpio/Kconfig"
 
-source "drivers/misc/Kconfig"
+source "drivers/hwmon/Kconfig"
 
-source "drivers/net/Kconfig"
+source "drivers/i2c/Kconfig"
 
 source "drivers/input/Kconfig"
 
 source "drivers/led/Kconfig"
 
-source "drivers/serial/Kconfig"
+source "drivers/misc/Kconfig"
 
-source "drivers/tpm/Kconfig"
+source "drivers/mmc/Kconfig"
 
-source "drivers/i2c/Kconfig"
+source "drivers/mtd/Kconfig"
 
-source "drivers/spi/Kconfig"
+source "drivers/net/Kconfig"
 
-source "drivers/gpio/Kconfig"
+source "drivers/pci/Kconfig"
+
+source "drivers/pcmcia/Kconfig"
 
 source "drivers/power/Kconfig"
 
 source "drivers/ram/Kconfig"
 
-source "drivers/hwmon/Kconfig"
-
-source "drivers/watchdog/Kconfig"
+source "drivers/rtc/Kconfig"
 
-source "drivers/video/Kconfig"
+source "drivers/serial/Kconfig"
 
 source "drivers/sound/Kconfig"
 
-source "drivers/usb/Kconfig"
-
-source "drivers/dfu/Kconfig"
+source "drivers/spi/Kconfig"
 
-source "drivers/mmc/Kconfig"
+source "drivers/thermal/Kconfig"
 
-source "drivers/rtc/Kconfig"
+source "drivers/tpm/Kconfig"
 
-source "drivers/dma/Kconfig"
+source "drivers/usb/Kconfig"
 
-source "drivers/crypto/Kconfig"
+source "drivers/video/Kconfig"
 
-source "drivers/thermal/Kconfig"
+source "drivers/watchdog/Kconfig"
 
 config PHYS_TO_BUS
 	bool "Custom physical to bus address mapping"
-- 
1.8.2.1



More information about the U-Boot mailing list