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:
parent
2ee9aca31a
commit
0303d8cab9
59 changed files with 96 additions and 96 deletions
|
@ -95,7 +95,7 @@ static int rtc_qmsi_init(struct device *dev)
|
|||
DEVICE_INIT_CONFIG_DEFINE(rtc, CONFIG_RTC_DRV_NAME,
|
||||
&rtc_qmsi_init, NULL);
|
||||
|
||||
SYS_DEFINE_DEVICE(rtc, NULL, SECONDARY,
|
||||
DEVICE_DEFINE(rtc, NULL, SECONDARY,
|
||||
CONFIG_KERNEL_INIT_PRIORITY_DEVICE);
|
||||
|
||||
static struct device *rtc_qmsi_dev = SYS_GET_DEVICE(rtc);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue