From 1337eb38bf45ed8ebb0943d7ac81d9b3d332b044 Mon Sep 17 00:00:00 2001 From: Christian Gmeiner Date: Thu, 14 Feb 2013 10:34:37 +0100 Subject: [PATCH] geodevga: fix wrong define name Signed-off-by: Christian Gmeiner --- vgasrc/geodevga.c | 2 +- vgasrc/geodevga.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/vgasrc/geodevga.c b/vgasrc/geodevga.c index 42e2eeb..e508cbd 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 180bd05..067b4f8 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) -- 2.39.5