Commit d0f5d65d authored by Dave Jones's avatar Dave Jones Committed by Dave Jones

prevent acquire from working if we deregister a chipset driver.

parent 56069a48
...@@ -260,6 +260,7 @@ int agp_register_driver (struct pci_dev *dev) ...@@ -260,6 +260,7 @@ int agp_register_driver (struct pci_dev *dev)
int __exit agp_unregister_driver(void) int __exit agp_unregister_driver(void)
{ {
agp_bridge.type = NOT_SUPPORTED;
pm_unregister_all(agp_power); pm_unregister_all(agp_power);
agp_frontend_cleanup(); agp_frontend_cleanup();
agp_backend_cleanup(); agp_backend_cleanup();
......
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