Re: [PATCH V2 2/2] m32r: Add missing big-endian I/O accessors

From: Arnd Bergmann
Date: Thu Nov 27 2014 - 16:49:15 EST


On Thursday 27 November 2014 10:16:33 Kevin Cernekee wrote:
> m32r doesn't use GENERIC_IOMAP, and it doesn't currently implement e.g.
> ioread32be() on its own. Add definitions to <asm/io.h> to fix build
> failures in common drivers that use these functions.
>
> drivers/tty/serial/8250/8250_core.c: In function 'mem32be_serial_out':
> >> drivers/tty/serial/8250/8250_core.c:434:2: error: implicit declaration of function 'iowrite32be' [-Werror=implicit-function-declaration]
> iowrite32be(value, p->membase + offset);
> ^
> drivers/tty/serial/8250/8250_core.c: In function 'mem32be_serial_in':
> >> drivers/tty/serial/8250/8250_core.c:440:2: error: implicit declaration of function 'ioread32be' [-Werror=implicit-function-declaration]
> return ioread32be(p->membase + offset);
> ^
> cc1: some warnings being treated as errors
>
> Compile-tested only.
>
> Signed-off-by: Kevin Cernekee <cernekee@xxxxxxxxx>
>

Both patches

Acked-by: Arnd Bergmann <arnd@xxxxxxxx>
--
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/