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
|
@ -63,5 +63,5 @@ int _i8259_init(struct device *unused)
|
|||
}
|
||||
|
||||
DEVICE_INIT_CONFIG_DEFINE(pic_0, "", _i8259_init, NULL);
|
||||
SYS_DEFINE_DEVICE(pic_0, NULL, PRIMARY,
|
||||
DEVICE_DEFINE(pic_0, NULL, PRIMARY,
|
||||
CONFIG_KERNEL_INIT_PRIORITY_DEFAULT);
|
||||
|
|
|
@ -315,5 +315,5 @@ static void _IoApicRedUpdateLo(unsigned int irq,
|
|||
}
|
||||
|
||||
DEVICE_INIT_CONFIG_DEFINE(ioapic_0, "", _ioapic_init, NULL);
|
||||
SYS_DEFINE_DEVICE(ioapic_0, NULL, PRIMARY,
|
||||
DEVICE_DEFINE(ioapic_0, NULL, PRIMARY,
|
||||
CONFIG_KERNEL_INIT_PRIORITY_DEFAULT);
|
||||
|
|
|
@ -445,7 +445,7 @@ int _loapic_isr_vector_get(void)
|
|||
}
|
||||
|
||||
DEVICE_INIT_CONFIG_DEFINE(loapic_0, "", _loapic_init, NULL);
|
||||
SYS_DEFINE_DEVICE(loapic_0, NULL, PRIMARY,
|
||||
DEVICE_DEFINE(loapic_0, NULL, PRIMARY,
|
||||
CONFIG_KERNEL_INIT_PRIORITY_DEFAULT);
|
||||
|
||||
#if CONFIG_LOAPIC_SPURIOUS_VECTOR
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue