* [PATCH] [TRIVIAL] [AGPGART]: early agp init fix
@ 2003-01-02 13:34 Antonino Daplas
2003-01-02 13:59 ` Dave Jones
0 siblings, 1 reply; 2+ messages in thread
From: Antonino Daplas @ 2003-01-02 13:34 UTC (permalink / raw)
To: Linux Kernel List
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;
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] [TRIVIAL] [AGPGART]: early agp init fix
2003-01-02 13:34 [PATCH] [TRIVIAL] [AGPGART]: early agp init fix Antonino Daplas
@ 2003-01-02 13:59 ` Dave Jones
0 siblings, 0 replies; 2+ messages in thread
From: Dave Jones @ 2003-01-02 13:59 UTC (permalink / raw)
To: Antonino Daplas; +Cc: Linux Kernel List
On Thu, Jan 02, 2003 at 09:34:04PM +0800, Antonino Daplas wrote:
> 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
--
| Dave Jones. http://www.codemonkey.org.uk
| SuSE Labs
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-01-02 13:52 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-01-02 13:34 [PATCH] [TRIVIAL] [AGPGART]: early agp init fix Antonino Daplas
2003-01-02 13:59 ` Dave Jones
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox