diff options
author | Benjamin Walsh <benjamin.walsh@windriver.com> | 2016-01-28 15:16:31 -0500 |
---|---|---|
committer | Anas Nashif <anas.nashif@intel.com> | 2016-02-05 20:25:25 -0500 |
commit | a4ec9631380abf8ffdc4385e38dc386858df846a (patch) | |
tree | f25da5e4731689117dffaaa7950b99bebd95543c /misc | |
parent | 629e1dd861a7e3d366381e43b82715ec6e193840 (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.c | 4 |
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); |