Merge tag 'mac80211-for-davem-2015-01-06' of git://git.kernel.org/pub/scm/linux/kerne...
[cascardo/linux.git] / drivers / tty / serial / serial_txx9.c
index ea85460..f80312e 100644 (file)
@@ -142,7 +142,6 @@ struct uart_txx9_port {
 #define TXX9_SIFCR_RDIL_12     0x00000180
 #define TXX9_SIFCR_RDIL_MAX    0x00000180
 #define TXX9_SIFCR_TDIL_MASK   0x00000018
-#define TXX9_SIFCR_TDIL_MASK   0x00000018
 #define TXX9_SIFCR_TDIL_1      0x00000000
 #define TXX9_SIFCR_TDIL_4      0x00000001
 #define TXX9_SIFCR_TDIL_8      0x00000010
@@ -244,11 +243,6 @@ static void serial_txx9_stop_rx(struct uart_port *port)
        up->port.read_status_mask &= ~TXX9_SIDISR_RDIS;
 }
 
-static void serial_txx9_enable_ms(struct uart_port *port)
-{
-       /* TXX9-SIO can not control DTR... */
-}
-
 static void serial_txx9_initialize(struct uart_port *port)
 {
        struct uart_txx9_port *up = to_uart_txx9_port(port);
@@ -858,7 +852,6 @@ static struct uart_ops serial_txx9_pops = {
        .stop_tx        = serial_txx9_stop_tx,
        .start_tx       = serial_txx9_start_tx,
        .stop_rx        = serial_txx9_stop_rx,
-       .enable_ms      = serial_txx9_enable_ms,
        .break_ctl      = serial_txx9_break_ctl,
        .startup        = serial_txx9_startup,
        .shutdown       = serial_txx9_shutdown,
@@ -1172,7 +1165,6 @@ static struct platform_driver serial_txx9_plat_driver = {
 #endif
        .driver         = {
                .name   = "serial_txx9",
-               .owner  = THIS_MODULE,
        },
 };