From: Uwe Kleine-König Date: Tue, 27 Jan 2009 11:51:06 +0000 (+0000) Subject: Move jsm_remove_one to .devexit.text X-Git-Tag: v2.6.29-rc3~16 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=e9fed5673949df33385091037f996f1b1a0e1908;p=linux-2.6-omap-h63xx.git 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 Signed-off-by: Alan Cox Signed-off-by: Linus Torvalds --- diff --git a/drivers/serial/jsm/jsm_driver.c b/drivers/serial/jsm/jsm_driver.c index 338cf8a08b4..92187e28608 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;