Commit cc51638a authored by Felipe Balbi's avatar Felipe Balbi Committed by Greg Kroah-Hartman

tty: serial: omap: cleanup variable declarations

cleanup only, no functional changes.
Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 404dc57c
...@@ -1641,10 +1641,13 @@ static int serial_omap_probe_rs485(struct uart_omap_port *up, ...@@ -1641,10 +1641,13 @@ static int serial_omap_probe_rs485(struct uart_omap_port *up,
static int serial_omap_probe(struct platform_device *pdev) 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); 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 */ /* The optional wakeirq may be specified in the board dts file */
if (pdev->dev.of_node) { if (pdev->dev.of_node) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment