diff options
author | Sudip Mukherjee <sudipm.mukherjee@gmail.com> | 2015-03-28 14:33:41 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-04-03 13:55:03 +0200 |
commit | f83e775d6ef55ea4edbe2740b8a56a94f97158b5 (patch) | |
tree | 54a8d87f45f29a4b4605857053e557cac7379d7f /drivers/staging | |
parent | 77371fbd440f482bc6f092d8a33d141f45dc3b70 (diff) |
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>
Diffstat (limited to 'drivers/staging')
-rw-r--r-- | drivers/staging/sm7xxfb/sm7xxfb.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/staging/sm7xxfb/sm7xxfb.c b/drivers/staging/sm7xxfb/sm7xxfb.c index 149286efda5d..77f51a075004 100644 --- a/drivers/staging/sm7xxfb/sm7xxfb.c +++ b/drivers/staging/sm7xxfb/sm7xxfb.c @@ -943,6 +943,7 @@ static void smtcfb_pci_remove(struct pci_dev *pdev) unregister_framebuffer(&sfb->fb); smtc_free_fb_info(sfb); pci_release_region(pdev, 0); + pci_disable_device(pdev); } #ifdef CONFIG_PM |