Move jsm_remove_one to .devexit.text
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Tue, 27 Jan 2009 11:51:06 +0000 (11:51 +0000)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 27 Jan 2009 15:37:15 +0000 (07:37 -0800)
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>
drivers/serial/jsm/jsm_driver.c

index 338cf8a..92187e2 100644 (file)
@@ -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;