Commit 8dfa03eb authored by Antonino Daplas's avatar Antonino Daplas Committed by Dave Jones

[AGPGART]: early agp init fix

intel_agp_init() must not be declared static for explicit early
initialization to work (ie i810fb).
parent 4c55cc62
...@@ -1467,7 +1467,9 @@ static struct __initdata pci_driver agp_intel_pci_driver = { ...@@ -1467,7 +1467,9 @@ static struct __initdata pci_driver agp_intel_pci_driver = {
.probe = agp_intel_probe, .probe = agp_intel_probe,
}; };
static int __init agp_intel_init(void) /* intel_agp_init() must not be declared static for explicit
early initialization to work (ie i810fb) */
int __init agp_intel_init(void)
{ {
int ret_val; int ret_val;
static int agp_initialised=0; static int agp_initialised=0;
......
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