pata/at91: use newly introduced SMC accessors
commit88dcde98ad113411f45ea7e8261839f7a1ba3c33
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Sun, 27 Nov 2011 11:30:29 +0000 (27 19:30 +0800)
committerNicolas Ferre <nicolas.ferre@atmel.com>
Mon, 13 Feb 2012 17:31:37 +0000 (13 18:31 +0100)
treea30da405718ed314da4281261a9861e5b167774f
parent59594e13e4d83239332746395fe03ba49b8efa12
pata/at91: use newly introduced SMC accessors

pata_at91 driver is broken since faee0cc:
"make smc register base soc independent"
Fix it with newly introduced SMC accessors.

The overall action of removal of at91_sys_read/write will allow
to use the pata_at91 on a single zImage kernel.

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Cc: linux-ide@vger.kernel.org
drivers/ata/pata_at91.c