smbus: Change init priority from DEVICE to DEFAULT

Change init priority for SMBus from KERNEL_INIT_PRIORITY_DEVICE (50)
to KERNEL_INIT_PRIORITY_DEFAULT (40) since other devices which depend
on SMBus (like EEPROM) have the same priority.

Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
This commit is contained in:
Andrei Emeltchenko 2023-04-20 15:30:43 +03:00 committed by Carles Cufí
commit c1fa65eec7

View file

@ -25,7 +25,7 @@ config SMBUS_STATS
config SMBUS_INIT_PRIORITY
int "Init priority"
default KERNEL_INIT_PRIORITY_DEVICE
default KERNEL_INIT_PRIORITY_DEFAULT
help
SMBus device driver initialization priority.