diff options
author | Eric Anholt <anholt@FreeBSD.org> | 2006-05-12 15:54:37 -0700 |
---|---|---|
committer | Eric Anholt <anholt@FreeBSD.org> | 2006-05-12 15:54:37 -0700 |
commit | 2e58aa401dfbab438752038a9034df571c8f8bde (patch) | |
tree | a793191b37ea8a3c29c38b3a13498a938c481384 /src/i830_driver.c | |
parent | 2cd6c8fa2321ca217ef89db1027dbe9e716ad7aa (diff) |
Make the intel_acpi.c code non-modular and make it compile. I think we'll end
up nuking this code anyway, as keithp (and I, as well) disagree about how ACPI
should be handled, but the goal is to compile at the moment.
Diffstat (limited to 'src/i830_driver.c')
-rw-r--r-- | src/i830_driver.c | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/src/i830_driver.c b/src/i830_driver.c index 8671e5ae..ca76a68c 100644 --- a/src/i830_driver.c +++ b/src/i830_driver.c @@ -2110,22 +2110,10 @@ I830BIOSPreInit(ScrnInfoPtr pScrn, int flags) if (pScrn->numEntities != 1) return FALSE; - if (!xf86LoadSubModule(pScrn, "intel_acpi")) - return FALSE; - /* try to load the video kernel module now */ xf86LoadKernelModule("video"); - if (xf86LoaderCheckSymbol("I830ACPIOpen")) { - void (*acpiOpen)(void) = NULL; - - acpiOpen = LoaderSymbol("I830ACPIOpen"); - - if (acpiOpen) { - ErrorF("Opening ACPI\n"); - (*acpiOpen)(); - } - } + I830ACPIOpen(); /* Load int10 module */ if (!xf86LoadSubModule(pScrn, "int10")) |