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>
This commit is contained in:
Benjamin Walsh 2016-01-26 16:40:37 -05:00 committed by Anas Nashif
commit 0303d8cab9
59 changed files with 96 additions and 96 deletions

View file

@ -280,5 +280,5 @@ static struct gpio_qmsi_runtime gpio_0_runtime;
DEVICE_INIT_CONFIG_DEFINE(gpio_0, CONFIG_GPIO_QMSI_0_NAME,
&gpio_qmsi_init, &gpio_0_config);
SYS_DEFINE_DEVICE(gpio_0, &gpio_0_runtime, SECONDARY,
DEVICE_DEFINE(gpio_0, &gpio_0_runtime, SECONDARY,
CONFIG_KERNEL_INIT_PRIORITY_DEVICE);