staging: sm7xxfb: disable pci device
disable the pci device when the module exits. Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
77371fbd44
commit
f83e775d6e
1 changed files with 1 additions and 0 deletions
|
@ -943,6 +943,7 @@ static void smtcfb_pci_remove(struct pci_dev *pdev)
|
||||||
unregister_framebuffer(&sfb->fb);
|
unregister_framebuffer(&sfb->fb);
|
||||||
smtc_free_fb_info(sfb);
|
smtc_free_fb_info(sfb);
|
||||||
pci_release_region(pdev, 0);
|
pci_release_region(pdev, 0);
|
||||||
|
pci_disable_device(pdev);
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef CONFIG_PM
|
#ifdef CONFIG_PM
|
||||||
|
|
Loading…
Reference in a new issue