aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--vgasrc/geodevga.c2
-rw-r--r--vgasrc/geodevga.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/vgasrc/geodevga.c b/vgasrc/geodevga.c
index 42e2eebb..e508cbd8 100644
--- a/vgasrc/geodevga.c
+++ b/vgasrc/geodevga.c
@@ -258,7 +258,7 @@ static void dc_setup(void)
geode_dc_write(DC_CURS_ST_OFFSET, 0x0);
geode_dc_mask(DC_DISPLAY_CFG, ~DC_CFG_MSK, DC_DISPLAY_CFG_GDEN|DC_DISPLAY_CFG_TRUP);
- geode_dc_write(DC_GENERAL_CFG, DC_DISPLAY_CFG_VGAE);
+ geode_dc_write(DC_GENERAL_CFG, DC_GENERAL_CFG_VGAE);
geode_dc_write(DC_UNLOCK, DC_LOCK_LOCK);
}
diff --git a/vgasrc/geodevga.h b/vgasrc/geodevga.h
index 180bd05c..067b4f8b 100644
--- a/vgasrc/geodevga.h
+++ b/vgasrc/geodevga.h
@@ -65,7 +65,7 @@
/* DC bits */
-#define DC_DISPLAY_CFG_VGAE (1 << 7)
+#define DC_GENERAL_CFG_VGAE (1 << 7)
#define DC_DISPLAY_CFG_GDEN (1 << 3)
#define DC_DISPLAY_CFG_TRUP (1 << 6)