Browse Source

serial: altera_uart: Proper section for altera_uart_remove

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>
Tobias Klauser 15 years ago
parent
commit
c1bfffa94e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/serial/altera_uart.c

+ 1 - 1
drivers/serial/altera_uart.c

@@ -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;