mtd: pxa3xx_nand: fix some compile issues on non-ARM arches
authorAntoine Ténart <antoine.tenart@free-electrons.com>
Wed, 21 Oct 2015 08:29:00 +0000 (10:29 +0200)
committerBrian Norris <computersforpeace@gmail.com>
Mon, 26 Oct 2015 18:38:10 +0000 (11:38 -0700)
commitab53a571a4777c36324a030a632281daaf505118
treed2a35e37e78df62b6208161064e7f74dce4341de
parent64862dbc98ca0f57022802e8e286c596d8c183e9
mtd: pxa3xx_nand: fix some compile issues on non-ARM arches

Using readsl() result in a build error on i386. Fix this by using
ioread32_rep() instead, to allow compile testing the pxa3xx nand driver
on other architectures later.

Suggested-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Antoine Tenart <antoine.tenart@free-electrons.com>
Acked-by: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/nand/pxa3xx_nand.c