Re: [PATCH] frv: add io{read,write}{16,32}be functions

From: Greg Kroah-Hartman
Date: Mon Apr 20 2015 - 12:36:30 EST


On Mon, Apr 20, 2015 at 08:36:15AM -0700, Guenter Roeck wrote:
> These functions are used in various drivers, including the latest
> version of the 8250 driver. The latter causes the following build
> failure.
>
> drivers/tty/serial/8250/8250_core.c: In function 'mem32be_serial_out':
> drivers/tty/serial/8250/8250_core.c:456:2: error:
> implicit declaration of function 'iowrite32be'
> drivers/tty/serial/8250/8250_core.c: In function 'mem32be_serial_in':
> drivers/tty/serial/8250/8250_core.c:462:2: error:
> implicit declaration of function 'ioread32be'
>
> Cc: Kevin Cernekee <cernekee@xxxxxxxxx>
> Cc: Rob Herring <robh@xxxxxxxxxx>
> Cc: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
> Fixes: c627f2ceb692 ("serial: 8250: Add support for big-endian MMIO
> accesses")
> Signed-off-by: Guenter Roeck <linux@xxxxxxxxxxxx>
> ---
> Build failure seen in next-20150420.
>
> arch/frv/include/asm/io.h | 5 +++++
> 1 file changed, 5 insertions(+)

Acked-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
--
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/