Make current_vp static and importings from Gigabeat F/X/S lcd drivers as they don't need it anymore.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23354 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Thomas Martitz 2009-10-26 01:44:39 +00:00
parent 5365cbe0a5
commit 78c956d73b
3 changed files with 0 additions and 14 deletions

View file

@ -66,13 +66,7 @@ static struct viewport default_vp =
.lst_pattern = LCD_DEFAULT_BG,
};
/* The Gigabeat target build requires access to the current fg_pattern
in lcd-meg-fx.c */
#if (!defined(TOSHIBA_GIGABEAT_F)&& !defined(TOSHIBA_GIGABEAT_S)) || defined(SIMULATOR)
static struct viewport* current_vp IDATA_ATTR = &default_vp;
#else
struct viewport* current_vp IDATA_ATTR = &default_vp;
#endif
/* LCD init */
void lcd_init(void)

View file

@ -34,10 +34,6 @@
static bool lcd_on = true;
static bool lcd_powered = true;
static unsigned lcd_yuv_options = 0;
/*
** This is imported from lcd-16bit.c
*/
extern struct viewport* current_vp;
/* Copies a rectangle from one framebuffer to another. Can be used in
single transfer mode with width = num pixels, and height = 1 which

View file

@ -36,10 +36,6 @@ static bool lcd_on = true;
static bool lcd_powered = true;
#endif
static unsigned lcd_yuv_options = 0;
/*
** This is imported from lcd-16bit.c
*/
extern struct viewport* current_vp;
/* Copies a rectangle from one framebuffer to another. Can be used in
single transfer mode with width = num pixels, and height = 1 which