tests: benchmarks: footprints: use POST_KERNEL level

Because APPLICATION is going to be removed for devices.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
This commit is contained in:
Gerard Marull-Paretas 2023-09-13 15:03:33 +02:00 committed by Carles Cufí
commit ee0f8d8381

View file

@ -26,11 +26,11 @@ static int dummy_device_pm_action(const struct device *dev,
PM_DEVICE_DEFINE(dummy_pm_driver, dummy_device_pm_action);
DEVICE_DEFINE(dummy_pm_driver, DUMMY_PM_DRIVER_NAME, NULL,
PM_DEVICE_GET(dummy_pm_driver), NULL, NULL, APPLICATION,
PM_DEVICE_GET(dummy_pm_driver), NULL, NULL, POST_KERNEL,
CONFIG_KERNEL_INIT_PRIORITY_DEFAULT, NULL);
DEVICE_DEFINE(dummy_driver, DUMMY_DRIVER_NAME, NULL, NULL, NULL, NULL,
APPLICATION, CONFIG_KERNEL_INIT_PRIORITY_DEFAULT, NULL);
POST_KERNEL, CONFIG_KERNEL_INIT_PRIORITY_DEFAULT, NULL);
void run_pm_device(void)
{