summaryrefslogtreecommitdiff
path: root/src/aticlock.c
diff options
context:
space:
mode:
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);