: early agp init fix
PATCH 1/1 : early agp init fix
intel_agp_init() must not be declared static for explicit early initialization to work (ie i810fb).
Tony
drivers/char/agp/intel-agp.c +1 -1
@@ -1467,7 +1467,7 @@ .probe = agp_intel_probe, }; -static int __init agp_intel_init (void ) +int __init agp_intel_init (void ) {int ret_val;static int agp_initialised=0 ;
Quoted 2 lines · Antonino Daplas
intel_agp_init()must not be declared static for explicit early initialization to work (ie i810fb).
Ahh, I was wondering why that was the odd one out. Applied, with a comment added describing this so it doesn't happen again 8-)
Thanks,
Dave
Signature · 2 lines
| Dave Jones. http://www.codemonkey.org.uk | SuSE Labs