summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorBenjamin Walsh <benjamin.walsh@windriver.com>2016-01-28 15:16:31 -0500
committerAnas Nashif <anas.nashif@intel.com>2016-02-05 20:25:25 -0500
commita4ec9631380abf8ffdc4385e38dc386858df846a (patch)
treef25da5e4731689117dffaaa7950b99bebd95543c /misc
parent629e1dd861a7e3d366381e43b82715ec6e193840 (diff)
init: use SYS_INIT() where it makes sense
Mostly SoC initialization and some kernel subsystems, but also some device drivers like the interrupt controllers. Change-Id: I8dc1844c33acd877c075b6b03558fdca6f87500b Signed-off-by: Benjamin Walsh <benjamin.walsh@windriver.com>
Diffstat (limited to 'misc')
-rw-r--r--misc/debug/mem_safe_check_boundaries.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/misc/debug/mem_safe_check_boundaries.c b/misc/debug/mem_safe_check_boundaries.c
index 0615eed9f..962356ef9 100644
--- a/misc/debug/mem_safe_check_boundaries.c
+++ b/misc/debug/mem_safe_check_boundaries.c
@@ -290,6 +290,4 @@ static int init(struct device *unused)
return 0;
}
-DEVICE_INIT(mem_safe, "", init,
- NULL, NULL,
- PRIMARY, CONFIG_KERNEL_INIT_PRIORITY_DEFAULT);
+SYS_INIT(init, PRIMARY, CONFIG_KERNEL_INIT_PRIORITY_DEFAULT);