提交 e9fed567 编写于 作者: U Uwe Kleine-König 提交者: Linus Torvalds

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: NUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: NAlan Cox <number6@the-village.bc.nu>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 11455be2
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册