Re: [PATCH v3 1/4] mtd: nand: allow compile test of MTD_NAND_PXA3xx

From: Arnd Bergmann
Date: Thu Oct 15 2015 - 07:45:31 EST


On Thursday 15 October 2015 17:12:18 kbuild test robot wrote:
> drivers/mtd/nand/pxa3xx_nand.c: In function 'drain_fifo':
> >> drivers/mtd/nand/pxa3xx_nand.c:507:4: error: implicit declaration of function 'readsl' [-Werror=implicit-function-declaration]
> readsl(info->mmio_base + NDDB, data, 8);
> ^

It should be easy to fix this by changing the code to use ioread32_rep() instead
of readsl(). They behave the same way on pointers returned from ioremap() etc,
and the other one is available on all architectures.

Arnd
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/