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

[AGP] agp_frontend_initialize() now gets called when a chipset driver...

[AGP] agp_frontend_initialize() now gets called when a chipset driver registers, so it can't be __init any more.
parent 08ee5245
...@@ -244,7 +244,7 @@ int agp_register_driver (struct pci_dev *dev) ...@@ -244,7 +244,7 @@ int agp_register_driver (struct pci_dev *dev)
} }
inter_module_register("drm_agp", THIS_MODULE, &drm_agp); inter_module_register("drm_agp", THIS_MODULE, &drm_agp);
pm_register(PM_PCI_DEV, PM_PCI_ID(agp_bridge.dev), agp_power); pm_register(PM_PCI_DEV, PM_PCI_ID(agp_bridge.dev), agp_power);
agp_count++; agp_count++;
......
...@@ -1067,7 +1067,7 @@ static struct miscdevice agp_miscdev = ...@@ -1067,7 +1067,7 @@ static struct miscdevice agp_miscdev =
.fops = &agp_fops .fops = &agp_fops
}; };
int __init agp_frontend_initialize(void) int agp_frontend_initialize(void)
{ {
memset(&agp_fe, 0, sizeof(struct agp_front_data)); memset(&agp_fe, 0, sizeof(struct agp_front_data));
AGP_LOCK_INIT(); AGP_LOCK_INIT();
......
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