summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAhmad Fatoum <a.fatoum@pengutronix.de>2020-06-02 09:57:55 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2020-09-15 14:42:49 +0200
commitb8ae5933bb138ad156af38fdb3226e14dc762f8f (patch)
tree3d5f955be9a1eaa30c72d4d0cfcc3dc00e5ee609 /include
parent11359b39028689c0f9893645c0feb80ab7052baf (diff)
downloadbarebox-b8ae5933bb138ad156af38fdb3226e14dc762f8f.tar.gz
barebox-b8ae5933bb138ad156af38fdb3226e14dc762f8f.tar.xz
common: restart: number unnamed restart handlers
Follow-up commit allows referencing specific restart handler by name. Restart handlers default to "default" as name when none is given. Number them sequentially instead. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include')
-rw-r--r--include/restart.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/restart.h b/include/restart.h
index 7ec0910e94..6880b03b93 100644
--- a/include/restart.h
+++ b/include/restart.h
@@ -15,7 +15,6 @@ int restart_handler_register(struct restart_handler *);
int restart_handler_register_fn(void (*restart_fn)(struct restart_handler *));
#define RESTART_DEFAULT_PRIORITY 100
-#define RESTART_DEFAULT_NAME "default"
unsigned int of_get_restart_priority(struct device_node *node);