drivers/watchdog: Make WDT_0_IRQ_PRI dependent on WDT_QMSI

The config variable WDT_0_IRQ_PRI is intended to be generic across a
range of watchdog drivers, however it has no default value which means
that if CONFIG_WATCHDOG is enabled, but no driver is provided for a
specific board the the configuration will fail.  For now, make
WDT_0_IRQ_PRI depend on the only driver that uses it.

Change-Id: I54708d66ac8fbc2ef657a1ef4510eb5e7a2cff28
Signed-off-by: Marcus Shawcroft <marcus.shawcroft@arm.com>
This commit is contained in:
Marcus Shawcroft 2016-10-26 12:38:23 +01:00 committed by Anas Nashif
commit bcc7f633fc

View file

@ -44,6 +44,7 @@ config WDT_0_NAME
config WDT_0_IRQ_PRI
int "Interrupt priority"
depends on WDT_QMSI
help
Watchdog interrupt priority