]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
dm: Sort the uclass IDs after the tegra/PMIC addition
authorSimon Glass <sjg@chromium.org>
Fri, 22 May 2015 21:42:14 +0000 (15:42 -0600)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 8 Sep 2015 20:48:17 +0000 (22:48 +0200)
Tidy up the sort order again.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reported-by: Joe Hershberger <joe.hershberger@gmail.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
include/dm/uclass-id.h

index 4d737f46c5b8894fb0d58fb9460cba8d5a9685c7..c7310d7ca04f23300385fe7e025ebe719ee6bb16 100644 (file)
@@ -39,20 +39,18 @@ enum uclass_id {
        UCLASS_PCH,             /* x86 platform controller hub */
        UCLASS_PCI,             /* PCI bus */
        UCLASS_PCI_GENERIC,     /* Generic PCI bus device */
+       UCLASS_PMIC,            /* PMIC I/O device */
+       UCLASS_REGULATOR,       /* Regulator device */
        UCLASS_RTC,             /* Real time clock device */
        UCLASS_SERIAL,          /* Serial UART */
        UCLASS_SPI,             /* SPI bus */
-       UCLASS_SPI_GENERIC,     /* Generic SPI flash target */
        UCLASS_SPI_FLASH,       /* SPI flash */
+       UCLASS_SPI_GENERIC,     /* Generic SPI flash target */
        UCLASS_THERMAL,         /* Thermal sensor */
        UCLASS_USB,             /* USB bus */
        UCLASS_USB_DEV_GENERIC, /* USB generic device */
        UCLASS_USB_HUB,         /* USB hub */
 
-       /* Power Management */
-       UCLASS_PMIC,            /* PMIC I/O device */
-       UCLASS_REGULATOR,       /* REGULATOR device */
-
        UCLASS_COUNT,
        UCLASS_INVALID = -1,
 };