[PATCH] ata: pata_at91 only works on sam9

Tejun Heo tj at kernel.org
Thu May 8 08:00:42 PDT 2014


On Thu, May 08, 2014 at 04:56:21PM +0200, Arnd Bergmann wrote:
> 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 at arndb.de>
> Cc: Tejun Heo <tj at kernel.org>
> Cc: linux-ide at vger.kernel.org
> Cc: Jean-Christophe Plagniol-Villard <plagnioj at jcrosoft.com>
> Cc: Nicolas Ferre <nicolas.ferre at atmel.com>

Applied to libata/for-3.15-fixes.

Thanks.

-- 
tejun



More information about the linux-arm-kernel mailing list