Skip to contentSkip to conversation

altera_uart: Proper section for altera_uart_remove

PATCH New Tobias Klauser 1 participant 1 message May 31, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 altera_uart: Proper section for altera_uart_remove

altera_uart_remove should be in .devexit.text

---
 drivers/serial/altera_uart.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/serial/altera_uart.c +1 -1
index bcee156..6dc22b0 100644
@@ -516,7 +516,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;
Signature · 1 line
1.6.3.3