ata: pata_at91 only works on sam9
authorArnd Bergmann <arnd@arndb.de>
Thu, 8 May 2014 14:56:21 +0000 (16:56 +0200)
committerTejun Heo <tj@kernel.org>
Thu, 8 May 2014 15:00:00 +0000 (11:00 -0400)
commit2af89a3cde1beb88a2c65e0558d828c1a9e4677f
treee5d7faf06abfdb01f4da81eb5dcc034333a8072c
parenta6f9bf4d2f965b862b95213303d154e02957eed8
ata: pata_at91 only works on sam9

The smc driver used by pata_at91 is at91sam9 specific, so building
this driver on another at91 platform results in this error:

ERROR: "sam9_smc_configure" [drivers/ata/pata_at91.ko] undefined!
ERROR: "sam9_smc_write_mode" [drivers/ata/pata_at91.ko] undefined!
ERROR: "sam9_smc_read_mode" [drivers/ata/pata_at91.ko] undefined!

This patch changes the Kconfig dependency to ensure it always works.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: linux-ide@vger.kernel.org
Cc: Jean-Christophe Plagniol-Villard <plagnioj@jcrosoft.com>
Cc: Nicolas Ferre <nicolas.ferre@atmel.com>
drivers/ata/Kconfig