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

Commit bf55b483 authored by Miguel Gómez's avatar Miguel Gómez Committed by Greg Kroah-Hartman
Browse files

Staging: xgifb: disable pci device on pci remove function.

parent 05e06036
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -2297,6 +2297,7 @@ static void __devexit xgifb_remove(struct pci_dev *pdev)
	iounmap(xgifb_info->video_vbase);
	release_mem_region(xgifb_info->mmio_base, xgifb_info->mmio_size);
	release_mem_region(xgifb_info->video_base, xgifb_info->video_size);
	pci_disable_device(pdev);
	framebuffer_release(fb_info);
	pci_set_drvdata(pdev, NULL);
}