summaryrefslogtreecommitdiffstats
path: root/drivers/serial/altera_uart.c
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2010-05-31 15:01:08 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2010-06-04 13:37:18 -0700
commitc1bfffa94e0ca951ed450788991c9310adb8e823 (patch)
tree2ff8189898264bf652a5bce3e7dabf28dd79de8f /drivers/serial/altera_uart.c
parent962400e8fd29981a7b166e463dd143b6ac6a3e76 (diff)
downloadtalos-op-linux-c1bfffa94e0ca951ed450788991c9310adb8e823.tar.gz
talos-op-linux-c1bfffa94e0ca951ed450788991c9310adb8e823.zip
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>
Diffstat (limited to 'drivers/serial/altera_uart.c')
-rw-r--r--drivers/serial/altera_uart.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/serial/altera_uart.c b/drivers/serial/altera_uart.c
index 7d6afc9755d5..0f1189605d21 100644
--- a/drivers/serial/altera_uart.c
+++ b/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;
OpenPOWER on IntegriCloud