ata: fix gemini Kconfig dependencies
authorArnd Bergmann <arnd@arndb.de>
Mon, 10 Jul 2017 08:51:02 +0000 (10:51 +0200)
committerTejun Heo <tj@kernel.org>
Mon, 10 Jul 2017 17:40:02 +0000 (13:40 -0400)
commitaccd04738f90c02c537378124de7c3cb5a511027
treecb587cf25b86e9075bc1e45210ec54c6537758a6
parentaf3c8d98508d37541d4bf57f13a984a7f73a328c
ata: fix gemini Kconfig dependencies

We cannot build the new ftide010 code without also building the faraday
sata bridge driver:

drivers/ata/pata_ftide010.o: In function `pata_ftide010_probe':
pata_ftide010.c:(.text+0x2b8): undefined reference to `gemini_sata_bridge_get'
pata_ftide010.c:(.text+0x32c): undefined reference to `gemini_sata_get_muxmode'
pata_ftide010.c:(.text+0x358): undefined reference to `gemini_sata_bridge_enabled'
drivers/ata/pata_ftide010.o: In function `pata_ftide010_gemini_port_stop':
pata_ftide010.c:(.text+0x520): undefined reference to `gemini_sata_stop_bridge'
drivers/ata/pata_ftide010.o: In function `pata_ftide010_gemini_port_start':
pata_ftide010.c:(.text+0x5bc): undefined reference to `gemini_sata_start_bridge'

This adjusts the Kconfig dependencies accordingly.

Fixes: be4e456ed3a5 ("ata: Add driver for Faraday Technology FTIDE010")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Tejun Heo <tj@kernel.org>
drivers/ata/Kconfig