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>
This commit is contained in:
parent
11455be2a3
commit
e9fed56739
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue