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
|
@ -277,7 +277,7 @@ static struct gpio_qmsi_config gpio_0_config = {
|
|||
|
||||
static struct gpio_qmsi_runtime gpio_0_runtime;
|
||||
|
||||
DECLARE_DEVICE_INIT_CONFIG(gpio_0, CONFIG_GPIO_QMSI_0_NAME,
|
||||
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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue