diff options
author | Samuel Holland <samuel@sholland.org> | 2021-09-08 21:10:08 -0500 |
---|---|---|
committer | Anup Patel <anup@brainfault.org> | 2021-09-14 12:13:55 +0530 |
commit | 0274a9600452af33412dda18e739ba17b13592a2 (patch) | |
tree | b33dcfbabec3476ce6000cbbd4effbc4e2c84f1d | |
parent | bd355213bfbb209c047e8cc0df56936f6705477f (diff) |
lib: utils/reset: Sort fdt_reset driver list
In preparation for adding a new fdt_reset driver, ensure the existing
lists are sorted alphabetically.
Signed-off-by: Samuel Holland <samuel@sholland.org>
Reviewed-by: Anup Patel <anup.patel@wdc.com>
-rw-r--r-- | lib/utils/reset/fdt_reset.c | 4 | ||||
-rw-r--r-- | lib/utils/reset/objects.mk | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/utils/reset/fdt_reset.c b/lib/utils/reset/fdt_reset.c index 0d84dc2..7f4b02a 100644 --- a/lib/utils/reset/fdt_reset.c +++ b/lib/utils/reset/fdt_reset.c @@ -14,15 +14,15 @@ extern struct fdt_reset fdt_poweroff_gpio; extern struct fdt_reset fdt_reset_gpio; -extern struct fdt_reset fdt_reset_sifive_test; extern struct fdt_reset fdt_reset_htif; +extern struct fdt_reset fdt_reset_sifive_test; extern struct fdt_reset fdt_reset_thead; static struct fdt_reset *reset_drivers[] = { &fdt_poweroff_gpio, &fdt_reset_gpio, - &fdt_reset_sifive_test, &fdt_reset_htif, + &fdt_reset_sifive_test, &fdt_reset_thead, }; diff --git a/lib/utils/reset/objects.mk b/lib/utils/reset/objects.mk index 4215396..bb33179 100644 --- a/lib/utils/reset/objects.mk +++ b/lib/utils/reset/objects.mk @@ -10,6 +10,6 @@ libsbiutils-objs-y += reset/fdt_reset.o libsbiutils-objs-y += reset/fdt_reset_gpio.o libsbiutils-objs-y += reset/fdt_reset_htif.o +libsbiutils-objs-y += reset/fdt_reset_sifive_test.o libsbiutils-objs-y += reset/fdt_reset_thead.o libsbiutils-objs-y += reset/fdt_reset_thead_asm.o -libsbiutils-objs-y += reset/fdt_reset_sifive_test.o |