[kernel/2.6.38] fix gcc-4.6 set but unused warnings
[openwrt.git] / target / linux / ixp4xx / patches-2.6.38 / 191-cambria_optional_uart.patch
index 639e19e..4340747 100644 (file)
        case UPIO_AU:
        case UPIO_DWAPB:
        case UPIO_DWAPB32:
        case UPIO_AU:
        case UPIO_DWAPB:
        case UPIO_DWAPB32:
-@@ -2521,6 +2541,7 @@ static int serial8250_request_std_resour
+@@ -2534,6 +2554,7 @@ static int serial8250_request_std_resour
        case UPIO_MEM:
        case UPIO_DWAPB:
        case UPIO_DWAPB32:
        case UPIO_MEM:
        case UPIO_DWAPB:
        case UPIO_DWAPB32:
                if (!up->port.mapbase)
                        break;
  
                if (!up->port.mapbase)
                        break;
  
-@@ -2559,6 +2580,7 @@ static void serial8250_release_std_resou
+@@ -2572,6 +2593,7 @@ static void serial8250_release_std_resou
        case UPIO_MEM:
        case UPIO_DWAPB:
        case UPIO_DWAPB32:
        case UPIO_MEM:
        case UPIO_DWAPB:
        case UPIO_DWAPB32:
                if (!up->port.mapbase)
                        break;
  
                if (!up->port.mapbase)
                        break;
  
-@@ -3074,6 +3096,7 @@ static int __devinit serial8250_probe(st
+@@ -3083,6 +3105,7 @@ static int __devinit serial8250_probe(st
                port.set_termios        = p->set_termios;
                port.pm                 = p->pm;
                port.dev                = &dev->dev;
                port.set_termios        = p->set_termios;
                port.pm                 = p->pm;
                port.dev                = &dev->dev;
                port.irqflags           |= irqflag;
                ret = serial8250_register_port(&port);
                if (ret < 0) {
                port.irqflags           |= irqflag;
                ret = serial8250_register_port(&port);
                if (ret < 0) {
-@@ -3223,6 +3246,7 @@ int serial8250_register_port(struct uart
+@@ -3232,6 +3255,7 @@ int serial8250_register_port(struct uart
                uart->port.iotype       = port->iotype;
                uart->port.flags        = port->flags | UPF_BOOT_AUTOCONF;
                uart->port.mapbase      = port->mapbase;
                uart->port.iotype       = port->iotype;
                uart->port.flags        = port->flags | UPF_BOOT_AUTOCONF;
                uart->port.mapbase      = port->mapbase;
This page took 0.024246 seconds and 4 git commands to generate.