Commit f83e775d authored by Sudip Mukherjee's avatar Sudip Mukherjee Committed by Greg Kroah-Hartman

staging: sm7xxfb: disable pci device

disable the pci device when the module exits.
Signed-off-by: default avatarSudip Mukherjee <sudip@vectorindia.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 77371fbd
...@@ -943,6 +943,7 @@ static void smtcfb_pci_remove(struct pci_dev *pdev) ...@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment