Messages in this thread | | | From | Arnd Bergmann <> | Subject | Re: [PATCH V2 2/2] m32r: Add missing big-endian I/O accessors | Date | Thu, 27 Nov 2014 22:48:56 +0100 |
| |
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@gmail.com> >
Both patches
Acked-by: Arnd Bergmann <arnd@arndb.de>
| |