summaryrefslogtreecommitdiff
path: root/src/gfx/disp_gu2.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gfx/disp_gu2.c')
-rw-r--r--src/gfx/disp_gu2.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/gfx/disp_gu2.c b/src/gfx/disp_gu2.c
index 1f0bbb6..8bd89e9 100644
--- a/src/gfx/disp_gu2.c
+++ b/src/gfx/disp_gu2.c
@@ -29,9 +29,6 @@
void gu2_enable_compression(void); /* private routine definition */
void gu2_disable_compression(void); /* private routine definition */
-int gfx_set_display_control(int sync_polarities); /* private routine
- * definition */
-void gfx_reset_video(void);
int gu2_set_specified_mode(DISPLAYMODE * pMode, int bpp);
/*---------------------------------------------------------------------------
@@ -1260,13 +1257,12 @@ void
gfx_set_display_video_enable(int enable)
#endif
{
- unsigned long lock, gcfg, dcfg;
+ unsigned long lock, gcfg;
/* READ CURRENT VALUES */
lock = READ_REG32(MDC_UNLOCK);
gcfg = READ_REG32(MDC_GENERAL_CFG);
- dcfg = READ_REG32(MDC_DISPLAY_CFG);
/* SET OR CLEAR VIDEO ENABLE IN GENERAL_CFG */