Skip to content

Commit 0f78ecd

Browse files
committed
drivers: Allow aspeed driver selection with COMPILE_TEST
The patch doesn't fix PINCTRL_ASPEED as it's a not currently a useful configuration option. Signed-off-by: Andrew Jeffery <[email protected]>
1 parent 6da1b0f commit 0f78ecd

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

drivers/gpio/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ config GPIO_ALTERA
121121

122122
config GPIO_ASPEED
123123
bool "Aspeed AST2400 GPIO support"
124-
depends on ARCH_ASPEED && OF
124+
depends on (ARCH_ASPEED || COMPILE_TEST) && OF
125125
select GENERIC_IRQ_CHIP
126126
help
127127
Say Y here to support Aspeed AST2400 GPIO.

drivers/i2c/busses/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -976,7 +976,7 @@ config I2C_RCAR
976976

977977
config I2C_ASPEED
978978
tristate "Aspeed AST2xxx SoC I2C Controller"
979-
depends on ARCH_ASPEED
979+
depends on ARCH_ASPEED || COMPILE_TEST
980980
select I2C_SLAVE
981981
help
982982
If you say yes to this option, support will be included for the

drivers/watchdog/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -580,7 +580,7 @@ config LPC18XX_WATCHDOG
580580

581581
config ASPEED_24xx_WATCHDOG
582582
tristate "Aspeed 23xx 24xx SoCs watchdog support"
583-
depends on ARCH_ASPEED
583+
depends on ARCH_ASPEED || COMPILE_TEST
584584
select WATCHDOG_CORE
585585
help
586586
Say Y here to include support for the watchdog timer

0 commit comments

Comments
 (0)