drivers: peci: move CONFIG_PECI_INTERRUPT_DRIVEN inside if statement

Move CONFIG_PECI_INTERRUPT_DRIVEN inside the CONFIG_PECI if statement to
avoid showing it in menuconfig when PECI drivers are disabled.

Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
This commit is contained in:
Henrik Brix Andersen 2023-03-30 10:44:30 +02:00 committed by Carles Cufí
parent 9a77f3d4a0
commit 2ff049d652

View file

@ -26,10 +26,10 @@ config PECI_INIT_PRIORITY
There isn't any critical component relying on this priority at
the moment.
endif # PECI
config PECI_INTERRUPT_DRIVEN
bool "PECI driver interrupt support"
help
This is an option to be enabled by individual peci driver
to indicate that the driver and hardware supports interrupts.
endif # PECI