diff options
Diffstat (limited to 'lib/utils')
-rw-r--r-- | lib/utils/reset/fdt_reset_gpio.c | 2 | ||||
-rw-r--r-- | lib/utils/reset/fdt_reset_sunxi_wdt.c | 2 | ||||
-rw-r--r-- | lib/utils/reset/fdt_reset_thead.c | 2 | ||||
-rw-r--r-- | lib/utils/sys/htif.c | 2 | ||||
-rw-r--r-- | lib/utils/sys/sifive_test.c | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/lib/utils/reset/fdt_reset_gpio.c b/lib/utils/reset/fdt_reset_gpio.c index 77e4d0e..4da1450 100644 --- a/lib/utils/reset/fdt_reset_gpio.c +++ b/lib/utils/reset/fdt_reset_gpio.c @@ -115,7 +115,7 @@ static int gpio_reset_init(void *fdt, int nodeoff, if (len > 0) reset->inactive_delay = fdt32_to_cpu(*val); - sbi_system_reset_set_device(&gpio_reset); + sbi_system_reset_add_device(&gpio_reset); return 0; } diff --git a/lib/utils/reset/fdt_reset_sunxi_wdt.c b/lib/utils/reset/fdt_reset_sunxi_wdt.c index e4f16e3..6d1b5b7 100644 --- a/lib/utils/reset/fdt_reset_sunxi_wdt.c +++ b/lib/utils/reset/fdt_reset_sunxi_wdt.c @@ -61,7 +61,7 @@ static int sunxi_wdt_reset_init(void *fdt, int nodeoff, sunxi_wdt_base = (volatile void *)(unsigned long)reg_addr; - sbi_system_reset_set_device(&sunxi_wdt_reset); + sbi_system_reset_add_device(&sunxi_wdt_reset); return 0; } diff --git a/lib/utils/reset/fdt_reset_thead.c b/lib/utils/reset/fdt_reset_thead.c index 9f2fe03..750b7aa 100644 --- a/lib/utils/reset/fdt_reset_thead.c +++ b/lib/utils/reset/fdt_reset_thead.c @@ -126,7 +126,7 @@ static int thead_reset_init(void *fdt, int nodeoff, } } - sbi_system_reset_set_device(&thead_reset); + sbi_system_reset_add_device(&thead_reset); return 0; } diff --git a/lib/utils/sys/htif.c b/lib/utils/sys/htif.c index 330a9a6..7c69c7f 100644 --- a/lib/utils/sys/htif.c +++ b/lib/utils/sys/htif.c @@ -176,7 +176,7 @@ static struct sbi_system_reset_device htif_reset = { int htif_system_reset_init(void) { - sbi_system_reset_set_device(&htif_reset); + sbi_system_reset_add_device(&htif_reset); return 0; } diff --git a/lib/utils/sys/sifive_test.c b/lib/utils/sys/sifive_test.c index 4533954..a9ebb5c 100644 --- a/lib/utils/sys/sifive_test.c +++ b/lib/utils/sys/sifive_test.c @@ -59,7 +59,7 @@ static struct sbi_system_reset_device sifive_test_reset = { int sifive_test_init(unsigned long base) { sifive_test_base = (void *)base; - sbi_system_reset_set_device(&sifive_test_reset); + sbi_system_reset_add_device(&sifive_test_reset); return 0; } |