summaryrefslogtreecommitdiffstats
path: root/include/linux/platform_data
diff options
context:
space:
mode:
authorAlexander Shiyan <shc_work@mail.ru>2014-02-07 18:16:07 +0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-02-13 09:33:05 -0800
commite7b8a3ceff5e5c4e2bd329717976b18ce033d7cd (patch)
tree5ea3a44d2893ef887e3ae84e6534f29ec31be636 /include/linux/platform_data
parentf4fcc40b564dd1920029053be9c4dd557b23a7ec (diff)
downloadlinux-stable-e7b8a3ceff5e5c4e2bd329717976b18ce033d7cd.tar.gz
linux-stable-e7b8a3ceff5e5c4e2bd329717976b18ce033d7cd.tar.bz2
linux-stable-e7b8a3ceff5e5c4e2bd329717976b18ce033d7cd.zip
serial: max310x: Add the loopback mode support
This patch replaces loopback mode support from platform data to dynamic setup with TIOCMSET ioctl. Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/platform_data')
-rw-r--r--include/linux/platform_data/max310x.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/platform_data/max310x.h b/include/linux/platform_data/max310x.h
index 5f4b35d99c2e..9d5f69b2b57c 100644
--- a/include/linux/platform_data/max310x.h
+++ b/include/linux/platform_data/max310x.h
@@ -46,7 +46,6 @@ struct max310x_pdata {
#define MAX310X_EXT_CLK (0x00000001) /* External clock enable */
/* Flags global to UART port */
const u8 uart_flags[MAX310X_MAX_UARTS];
-#define MAX310X_LOOPBACK (0x00000001) /* Loopback mode enable */
#define MAX310X_ECHO_SUPRESS (0x00000002) /* Enable echo supress */
#define MAX310X_AUTO_DIR_CTRL (0x00000004) /* Enable Auto direction
* control (RS-485)