serial: altera_uart: Proper section for altera_uart_remove
authorTobias Klauser <tklauser@distanz.ch>
Mon, 31 May 2010 13:01:08 +0000 (15:01 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 4 Jun 2010 20:37:18 +0000 (13:37 -0700)
altera_uart_remove should be in .devexit.text

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/serial/altera_uart.c

index 7d6afc9755d528d1d19511b452b931fc2da44e8c..0f1189605d2141b2516b48c6ecd6ed6ee7c287ec 100644 (file)
@@ -498,7 +498,7 @@ static int __devinit altera_uart_probe(struct platform_device *pdev)
        return 0;
 }
 
-static int altera_uart_remove(struct platform_device *pdev)
+static int __devexit altera_uart_remove(struct platform_device *pdev)
 {
        struct uart_port *port;
        int i;