device: use DEVICE_INIT everwhere
This is the last step before obsoleting DEVICE_DEFINE() and DEVICE_INIT_CONFIG_DEFINE(). Change-Id: Ica4257662969048083ab9839872b4b437b8b351b Signed-off-by: Benjamin Walsh <benjamin.walsh@windriver.com>
This commit is contained in:
parent
ef33dc32e5
commit
d340d4cb3f
57 changed files with 270 additions and 415 deletions
|
@ -277,8 +277,6 @@ static struct gpio_qmsi_config gpio_0_config = {
|
|||
|
||||
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);
|
||||
|
||||
DEVICE_DEFINE(gpio_0, &gpio_0_runtime, SECONDARY,
|
||||
CONFIG_KERNEL_INIT_PRIORITY_DEVICE);
|
||||
DEVICE_INIT(gpio_0, CONFIG_GPIO_QMSI_0_NAME, &gpio_qmsi_init,
|
||||
&gpio_0_runtime, &gpio_0_config,
|
||||
SECONDARY, CONFIG_KERNEL_INIT_PRIORITY_DEVICE);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue