mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-26 06:04:14 +08:00
ata: Kconfig: fix sata gemini compile test condition
When compile testing the sata gemini driver, CONFIG_OF is required to avoid the warning: drivers/ata/sata_gemini.c:421:34: error: ‘gemini_sata_of_match’ defined but not used [-Werror=unused-const-variable=] Signed-off-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
This commit is contained in:
parent
59b0040475
commit
f7220eac75
@ -283,7 +283,7 @@ config SATA_FSL
|
||||
|
||||
config SATA_GEMINI
|
||||
tristate "Gemini SATA bridge support"
|
||||
depends on ARCH_GEMINI || COMPILE_TEST
|
||||
depends on ARCH_GEMINI || (OF && COMPILE_TEST)
|
||||
select SATA_HOST
|
||||
default ARCH_GEMINI
|
||||
help
|
||||
|
Loading…
Reference in New Issue
Block a user