summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorBenjamin Walsh <benjamin.walsh@windriver.com>2016-01-26 16:37:12 -0500
committerAnas Nashif <anas.nashif@intel.com>2016-02-05 20:25:25 -0500
commitbfc27206b22e98bf5d141ca6da3ce73fb05cc519 (patch)
treeb9257163fb8c131645cbfad589b263ee51880146 /misc
parentbd1848772716b8dafd13a7ab0e86ebe6a46cb2e1 (diff)
device: rename DECLARE_DEVICE_INIT_CONFIG()
Rename it to DEVICE_INIT_CONFIG_DEFINE(), because (a) it was not fitting in any namespace and (b) it is not used to declare, but rather define a object. Change-Id: I1da5822f06b85a9fb024b5b184afd0ccc01012ec Signed-off-by: Benjamin Walsh <benjamin.walsh@windriver.com>
Diffstat (limited to 'misc')
-rw-r--r--misc/debug/mem_safe_check_boundaries.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/debug/mem_safe_check_boundaries.c b/misc/debug/mem_safe_check_boundaries.c
index 0bc5ea4dc..ff557683b 100644
--- a/misc/debug/mem_safe_check_boundaries.c
+++ b/misc/debug/mem_safe_check_boundaries.c
@@ -290,6 +290,6 @@ static int init(struct device *unused)
return 0;
}
-DECLARE_DEVICE_INIT_CONFIG(mem_safe, "", init, NULL);
+DEVICE_INIT_CONFIG_DEFINE(mem_safe, "", init, NULL);
SYS_DEFINE_DEVICE(mem_safe, NULL, PRIMARY,
CONFIG_KERNEL_INIT_PRIORITY_DEFAULT);