Commit 1e9a3372 authored by Andreas Henriksson's avatar Andreas Henriksson Committed by Linus Torvalds

[PATCH] fbdev: Remove i810fb explicit agp initialization hack.

When Antonino A.  Daplas posted his "fbdev: Initialize i810fb after
agpgart" patch he said that the ugly agp initialization hack for intel agp
shouldn't be needed but that he couldn't test it.

I have tested the framebuffer updates and additionally removed the
initialization hack and it does indeed work.
Signed-off-by: default avatarAndreas Henriksson <andreas@fjortis.info>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 2a622be2
......@@ -1782,16 +1782,8 @@ static struct pci_driver agp_intel_pci_driver = {
.resume = agp_intel_resume,
};
/* intel_agp_init() must not be declared static for explicit
early initialization to work (ie i810fb) */
int __init agp_intel_init(void)
static int __init agp_intel_init(void)
{
static int agp_initialised=0;
if (agp_initialised == 1)
return 0;
agp_initialised=1;
return pci_module_init(&agp_intel_pci_driver);
}
......
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