summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorBenjamin Walsh <benjamin.walsh@windriver.com>2016-01-26 16:40:37 -0500
committerAnas Nashif <anas.nashif@intel.com>2016-02-05 20:25:25 -0500
commit0303d8cab979b1132a11139bd3633c12740f7c10 (patch)
tree71b969f3dc47bf6dc8ef8e74dae8d09bf18d414d /misc
parent2ee9aca31a39e9e614d06ae5088522e528a98264 (diff)
device: rename SYS_DEFINE_DEVICE()
Rename it to DEVICE_DEFINE() so that it fits in the 'device' namespace. Change-Id: I3af3a39cf9154359b31d22729d0db9f710cd202b 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 ff557683b..c5dce5f97 100644
--- a/misc/debug/mem_safe_check_boundaries.c
+++ b/misc/debug/mem_safe_check_boundaries.c
@@ -291,5 +291,5 @@ static int init(struct device *unused)
}
DEVICE_INIT_CONFIG_DEFINE(mem_safe, "", init, NULL);
-SYS_DEFINE_DEVICE(mem_safe, NULL, PRIMARY,
+DEVICE_DEFINE(mem_safe, NULL, PRIMARY,
CONFIG_KERNEL_INIT_PRIORITY_DEFAULT);