summaryrefslogtreecommitdiff
path: root/src/atiprint.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/atiprint.c')
-rw-r--r--src/atiprint.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/atiprint.c b/src/atiprint.c
index 1fc629da..243dcf50 100644
--- a/src/atiprint.c
+++ b/src/atiprint.c
@@ -28,7 +28,6 @@
#include <ctype.h>
#include "ati.h"
-#include "atiadapter.h"
#include "atichip.h"
#include "atidac.h"
#include "atimach64io.h"
@@ -369,7 +368,7 @@ ATIPrintRegisters
crtc = ATI_CRTC_VGA;
- if (pATI->VGAAdapter != ATI_ADAPTER_NONE)
+ if (pATI->VGAAdapter)
{
xf86ErrorFVerb(4, "\n Miscellaneous output register value: 0x%02X.\n",
genmo = inb(R_GENMO));