aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/serial
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/serial')
-rw-r--r--drivers/serial/sh-sci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/serial/sh-sci.c b/drivers/serial/sh-sci.c
index 3df2aaec829f..f5aebc9f27e7 100644
--- a/drivers/serial/sh-sci.c
+++ b/drivers/serial/sh-sci.c
@@ -1113,7 +1113,7 @@ static const char *sci_type(struct uart_port *port)
1113 case PORT_IRDA: return "irda"; 1113 case PORT_IRDA: return "irda";
1114 } 1114 }
1115 1115
1116 return 0; 1116 return NULL;
1117} 1117}
1118 1118
1119static void sci_release_port(struct uart_port *port) 1119static void sci_release_port(struct uart_port *port)