arch/x86: Convert DEVICE_AND_API_INIT to DEVICE_DEFINE
Convert device to DEVICE_DEFINE instead of DEVICE_AND_API_INIT so we can deprecate DEVICE_AND_API_INIT in the future. Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
parent
a44de32db2
commit
63d0a109c0
1 changed files with 2 additions and 1 deletions
|
@ -143,9 +143,10 @@ static int multiboot_framebuf_init(const struct device *dev)
|
|||
}
|
||||
}
|
||||
|
||||
DEVICE_AND_API_INIT(multiboot_framebuf,
|
||||
DEVICE_DEFINE(multiboot_framebuf,
|
||||
"FRAMEBUF",
|
||||
multiboot_framebuf_init,
|
||||
device_pm_control_nop,
|
||||
&multiboot_framebuf_data,
|
||||
NULL,
|
||||
PRE_KERNEL_1,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue