[PATCH] [TRIVIAL] [AGPGART]: early agp init fix

From: Antonino Daplas (adaplas@pol.net)
Date: Thu Jan 02 2003 - 08:34:04 EST


intel_agp_init() must not be declared static for explicit early
initialization to work (ie i810fb).

Tony

diff -Naur linux-2.5.54/drivers/char/agp/intel-agp.c linux/drivers/char/agp/intel-agp.c
--- linux-2.5.54/drivers/char/agp/intel-agp.c 2003-01-02 13:16:06.000000000 +0000
+++ linux/drivers/char/agp/intel-agp.c 2003-01-02 13:15:31.000000000 +0000
@@ -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;

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Jan 07 2003 - 22:00:17 EST