]> git.baikalelectronics.ru Git - kernel.git/commit
frv: add io{read,write}{16,32}be functions
authorGuenter Roeck <linux@roeck-us.net>
Mon, 20 Apr 2015 15:36:15 +0000 (08:36 -0700)
committerRob Herring <robh@kernel.org>
Thu, 23 Apr 2015 03:38:21 +0000 (22:38 -0500)
commitdc3e62e46f1d1aaa8da18ba90d89e5566bba3b4e
tree84623194aa387ace4561b697d10f2b085ece00fd
parent5945b5eb8a9c1eb830484d141196f1f33653de51
frv: 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: aa1741048a2a ("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/frv/include/asm/io.h