diff options
author | Dave Airlie <airlied@redhat.com> | 2009-07-28 13:32:28 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2009-07-28 13:32:28 +1000 |
commit | e521e8240c1acc49a514db123cb67beb669dea81 (patch) | |
tree | 2a88712bda5b687b3ad3e94ba00951ed416e4e39 /src | |
parent | 150d86dd0fff038db660f993d080cc3f7a09f6c5 (diff) |
ark: update for resources/RAC API removal
Diffstat (limited to 'src')
-rw-r--r-- | src/ark_driver.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/ark_driver.c b/src/ark_driver.c index db5303c..ee94a14 100644 --- a/src/ark_driver.c +++ b/src/ark_driver.c @@ -35,7 +35,6 @@ #include "xf86_OSproc.h" #include "xf86Pci.h" #include "xf86PciInfo.h" -#include "xf86Resources.h" #include "xf86fbman.h" #include "xf86cmap.h" #include "compiler.h" @@ -313,16 +312,7 @@ static Bool ARKPreInit(ScrnInfoPtr pScrn, int flags) } pEnt = xf86GetEntityInfo(pScrn->entityList[0]); - if (pEnt->resources) { - xfree(pEnt); - ARKFreeRec(pScrn); - return FALSE; - } - pARK->PciInfo = xf86GetPciInfoForEntity(pEnt->index); - xf86RegisterResources(pEnt->index, NULL, ResNone); - xf86SetOperatingState(resVgaIo, pEnt->index, ResUnusedOpr); - xf86SetOperatingState(resVgaMem, pEnt->index, ResDisableOpr); if (pEnt->device->chipset && *pEnt->device->chipset) { pScrn->chipset = pEnt->device->chipset; |