Skip to content

Commit 2ab23a9

Browse files
committed
drivers: kscan: 74hc165: Fix build error on init priority
1 parent 68da658 commit 2ab23a9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

config/drivers/kscan/kscan_gpio_74hc165.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ static const struct kscan_driver_api kscan_74hc165_api = {
237237
}; \
238238
\
239239
DEVICE_DT_INST_DEFINE(n, &kscan_74hc165_init, NULL, &kscan_74hc165_data_##n, \
240-
&kscan_74hc165_config_##n, APPLICATION, \
241-
CONFIG_APPLICATION_INIT_PRIORITY, &kscan_74hc165_api);
240+
&kscan_74hc165_config_##n, POST_KERNEL, CONFIG_KSCAN_INIT_PRIORITY, \
241+
&kscan_74hc165_api);
242242

243243
DT_INST_FOREACH_STATUS_OKAY(KSCAN_74HC165_INIT);

0 commit comments

Comments
 (0)