summaryrefslogtreecommitdiff
path: root/firmware/target/arm/s3c2440/gigabeat-fx/lcd-meg-fx.c
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2009-03-17 04:22:28 +0000
committerThomas Martitz <kugel@rockbox.org>2009-03-17 04:22:28 +0000
commitd0e834aa7349fab6367e74d0df88575dfd854496 (patch)
treebc4487049a425e7dd9c26426641fee5f827ac2bf /firmware/target/arm/s3c2440/gigabeat-fx/lcd-meg-fx.c
parent9771c9c77190910309901ceaf3400b3e2c94a536 (diff)
Okay, this should be the last. I'm sorry for the trouble, but now everything *should* be properly #ifdef'd (which wasn't before) :/
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20336 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/s3c2440/gigabeat-fx/lcd-meg-fx.c')
-rw-r--r--firmware/target/arm/s3c2440/gigabeat-fx/lcd-meg-fx.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/target/arm/s3c2440/gigabeat-fx/lcd-meg-fx.c b/firmware/target/arm/s3c2440/gigabeat-fx/lcd-meg-fx.c
index 5b48135ff1..388c02ade4 100644
--- a/firmware/target/arm/s3c2440/gigabeat-fx/lcd-meg-fx.c
+++ b/firmware/target/arm/s3c2440/gigabeat-fx/lcd-meg-fx.c
@@ -29,7 +29,9 @@
#define LCDADDR(x, y) (&lcd_framebuffer[(y)][(x)])
static bool lcd_on = true;
+#if defined(HAVE_LCD_ENABLE) || defined(HAVE_LCD_SLEEP)
static bool lcd_powered = true;
+#endif
static unsigned lcd_yuv_options = 0;
/*
** This is imported from lcd-16bit.c