• Guenter Roeck's avatar
    frv: add io{read,write}{16,32}be functions · 04fca0e3
    Guenter Roeck authored
    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: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
    Fixes: c627f2ce ("serial: 8250: Add support for big-endian MMIO
    	accesses")
    Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
    Signed-off-by: default avatarRob Herring <robh@kernel.org>
    04fca0e3
io.h 9.43 KB