Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -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