aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/tty/serial/omap-serial.c
diff options
context:
space:
mode:
authorFelipe Balbi <balbi@ti.com>2014-04-23 09:58:31 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-04-24 16:16:33 -0700
commitcc51638ab4e8a0489b943ed027c37214540a07a6 (patch)
tree1646d62e684b8dc3c0c824220578e8166decbcb5 /drivers/tty/serial/omap-serial.c
parenttty: serial: omap: switch over to devm_request_gpio (diff)
downloadlinux-dev-cc51638ab4e8a0489b943ed027c37214540a07a6.tar.xz
linux-dev-cc51638ab4e8a0489b943ed027c37214540a07a6.zip
tty: serial: omap: cleanup variable declarations
cleanup only, no functional changes. Signed-off-by: Felipe Balbi <balbi@ti.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial/omap-serial.c')
-rw-r--r--drivers/tty/serial/omap-serial.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/drivers/tty/serial/omap-serial.c b/drivers/tty/serial/omap-serial.c
index 07d4273e35a1..381374030293 100644
--- a/drivers/tty/serial/omap-serial.c
+++ b/drivers/tty/serial/omap-serial.c
@@ -1641,10 +1641,13 @@ static int serial_omap_probe_rs485(struct uart_omap_port *up,
static int serial_omap_probe(struct platform_device *pdev)
{
- struct uart_omap_port *up;
- struct resource *mem, *irq;
struct omap_uart_port_info *omap_up_info = dev_get_platdata(&pdev->dev);
- int ret, uartirq = 0, wakeirq = 0;
+ struct uart_omap_port *up;
+ struct resource *mem;
+ struct resource *irq;
+ int uartirq = 0;
+ int wakeirq = 0;
+ int ret;
/* The optional wakeirq may be specified in the board dts file */
if (pdev->dev.of_node) {