From: Christian Gmeiner Date: Thu, 14 Feb 2013 09:34:37 +0000 (+0100) Subject: geodevga: fix wrong define name X-Git-Tag: rel-1.7.3~85 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=1337eb38bf45ed8ebb0943d7ac81d9b3d332b044;p=seabios.git geodevga: fix wrong define name Signed-off-by: Christian Gmeiner --- 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)