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>
This commit is contained in:
parent
bd18487727
commit
bfc27206b2
59 changed files with 88 additions and 88 deletions
|
@ -144,7 +144,7 @@ struct shared_irq_config shared_irq_config_0 = {
|
|||
|
||||
struct shared_irq_runtime shared_irq_0_runtime;
|
||||
|
||||
DECLARE_DEVICE_INIT_CONFIG(shared_irq_0, CONFIG_SHARED_IRQ_0_NAME,
|
||||
DEVICE_INIT_CONFIG_DEFINE(shared_irq_0, CONFIG_SHARED_IRQ_0_NAME,
|
||||
shared_irq_initialize, &shared_irq_config_0);
|
||||
SYS_DEFINE_DEVICE(shared_irq_0, &shared_irq_0_runtime, SECONDARY,
|
||||
CONFIG_SHARED_IRQ_INIT_PRIORITY);
|
||||
|
@ -185,7 +185,7 @@ struct shared_irq_config shared_irq_config_1 = {
|
|||
|
||||
struct shared_irq_runtime shared_irq_1_runtime;
|
||||
|
||||
DECLARE_DEVICE_INIT_CONFIG(shared_irq_1, CONFIG_SHARED_IRQ_1_NAME,
|
||||
DEVICE_INIT_CONFIG_DEFINE(shared_irq_1, CONFIG_SHARED_IRQ_1_NAME,
|
||||
shared_irq_initialize, &shared_irq_config_1);
|
||||
SYS_DEFINE_DEVICE(shared_irq_1, &shared_irq_1_runtime, SECONDARY,
|
||||
CONFIG_SHARED_IRQ_INIT_PRIORITY);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue