summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2009-01-27 12:51:06 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2009-01-27 16:37:15 +0100
commite9fed5673949df33385091037f996f1b1a0e1908 (patch)
treee464ae50716d6e587cd89cc62936931b2c166e38
parentMIPS: enable serial UART support on PNX833X devices. (diff)
downloadlinux-e9fed5673949df33385091037f996f1b1a0e1908.tar.xz
linux-e9fed5673949df33385091037f996f1b1a0e1908.zip
Move jsm_remove_one to .devexit.text
The function jsm_remove_one is used only wrapped by __devexit_p so define it using __devexit. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Alan Cox <number6@the-village.bc.nu> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r--drivers/serial/jsm/jsm_driver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/serial/jsm/jsm_driver.c b/drivers/serial/jsm/jsm_driver.c
index 338cf8a08b43..92187e28608a 100644
--- a/drivers/serial/jsm/jsm_driver.c
+++ b/drivers/serial/jsm/jsm_driver.c
@@ -180,7 +180,7 @@ static int jsm_probe_one(struct pci_dev *pdev, const struct pci_device_id *ent)
return rc;
}
-static void jsm_remove_one(struct pci_dev *pdev)
+static void __devexit jsm_remove_one(struct pci_dev *pdev)
{
struct jsm_board *brd = pci_get_drvdata(pdev);
int i = 0;