ata: Kconfig: fix sata gemini compile test condition
authorDamien Le Moal <damien.lemoal@opensource.wdc.com>
Wed, 16 Feb 2022 07:14:35 +0000 (16:14 +0900)
committerDamien Le Moal <damien.lemoal@opensource.wdc.com>
Wed, 16 Feb 2022 07:17:44 +0000 (16:17 +0900)
commit7bd202b0f3ad527751f5eb0ee28f383d6a790156
treeae3899b79ae5b2015953d41b9193586c2e2c871e
parent5c509618315f975ffa6133a53b197dcb1a46a50b
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>
drivers/ata/Kconfig