summaryrefslogtreecommitdiff
path: root/src/aticlock.c
diff options
context:
space:
mode:
authorGeorge Sapountzis <gsap7@yahoo.gr>2007-01-28 00:19:15 +0200
committerGeorge Sapountzis <gsap7@yahoo.gr>2007-01-28 01:24:19 +0200
commit0abcb2b2c84a50e64bb6aa9e94760659ecf33add (patch)
tree754e64a8a051f23d17e5e06099d0131fa2b4f2e8 /src/aticlock.c
parent817b4b5338dba4d8eb862f1f79ef0edb75aad7f4 (diff)
Clean pATI->Adapter and pATI->VGAAdapter.
- cull (pATI->Adapter != ATI_ADAPTER_MACH64) - treat pATI->VGAAdapter as Bool
Diffstat (limited to 'src/aticlock.c')
-rw-r--r--src/aticlock.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/aticlock.c b/src/aticlock.c
index 727f80f1..f5bfbbaa 100644
--- a/src/aticlock.c
+++ b/src/aticlock.c
@@ -197,7 +197,6 @@
#include <stdlib.h>
#include "ati.h"
-#include "atiadapter.h"
#include "atichip.h"
#include "atidac.h"
#include "atidsp.h"
@@ -711,7 +710,7 @@ ProbeClocks:
#ifndef AVOID_CPIO
- if (pATI->VGAAdapter != ATI_ADAPTER_NONE)
+ if (pATI->VGAAdapter)
{
/*
* The current video state needs to be saved before the clock
@@ -909,7 +908,7 @@ ProbeClocks:
#ifndef AVOID_CPIO
- if (pATI->VGAAdapter != ATI_ADAPTER_NONE)
+ if (pATI->VGAAdapter)
{
/* Restore video state */
ATIModeSet(pScreenInfo, pATI, &pATI->OldHW);