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>
Sun, 20 Feb 2022 00:06:05 +0000 (09:06 +0900)
commitf7220eac752f2c96a1b6e0830cbf427ca908e511
tree495a909e070d67cac9b8b2e7587595be30cadddb
parent59b0040475ee5d562f061eef718b808fbec8a13a
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