OSDN Git Service
(root)
/
sagit-ice-cold
/
kernel_xiaomi_msm8998.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
962400e
)
serial: altera_uart: Proper section for altera_uart_remove
author
Tobias Klauser
<tklauser@distanz.ch>
Mon, 31 May 2010 13:01:08 +0000
(15:01 +0200)
committer
Greg 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
patch
|
blob
|
history
diff --git
a/drivers/serial/altera_uart.c
b/drivers/serial/altera_uart.c
index
7d6afc9
..
0f11896
100644
(file)
--- 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;