serial: sprd: Fix iotype
authorPeter Hurley <peter@hurleysoftware.com>
Tue, 24 Feb 2015 17:06:34 +0000 (12:06 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 7 Mar 2015 02:28:01 +0000 (03:28 +0100)
commit7950dc586092d0c7a8b881188061cc3dc133d7e9
treee8c1279d38c6da6444ecae120363c61d14f8252d
parent17b8f2a3fdca29a9b296642fb3f6ad3c39ffc7d3
serial: sprd: Fix iotype

The Spreadtrum UART is accessed with mmio; declare the proper iotype.
Also prevent userspace from assigning any other iotype via
ioctl(TIOCSSERIAL).

Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/sprd_serial.c