mn10300: add io{read,write}{16,32}be functions
authorGuenter Roeck <linux@roeck-us.net>
Mon, 20 Apr 2015 15:37:42 +0000 (08:37 -0700)
committerRob Herring <robh@kernel.org>
Thu, 23 Apr 2015 03:37:56 +0000 (22:37 -0500)
commit601e3ad9def147f714c1b66fd397d138ba5dbd3b
tree87ad76c86f2f7163a7a9189422ad58c2d4b5d4e3
parentf3b07b8611ede9584ef27288d9c35bc2fd7a8353
mn10300: add io{read,write}{16,32}be functions

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@gmail.com>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Fixes: c627f2ceb692 ("serial: 8250: Add support for big-endian MMIO
accesses")
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Rob Herring <robh@kernel.org>
arch/mn10300/include/asm/io.h