Commit 59c1ab60 authored by Ben Dooks's avatar Ben Dooks Committed by Ben Dooks

[ARM] JIVE: Fix sparse warnings about items which should be static

Make 'jive_vgg2432a4_display' and 'jive_lcd_config' static as
they are not exported, and are generating the following sparse
warnings:

mach-jive.c:280:26: warning: symbol 'jive_vgg2432a4_display' was not declared. Should it be static?
mach-jive.c:313:28: warning: symbol 'jive_lcd_config' was not declared. Should it be static?
Signed-off-by: default avatarBen Dooks <ben@simtec.co.uk>
Signed-off-by: default avatarBen Dooks <ben-linux@fluff.org>
parent ad14ff37
...@@ -277,7 +277,7 @@ __setup("mtdset=", jive_mtdset); ...@@ -277,7 +277,7 @@ __setup("mtdset=", jive_mtdset);
#define LCD_HTOT (LCD_HSYNC + LCD_LEFT_MARGIN + LCD_XRES + LCD_RIGHT_MARGIN) #define LCD_HTOT (LCD_HSYNC + LCD_LEFT_MARGIN + LCD_XRES + LCD_RIGHT_MARGIN)
#define LCD_VTOT (LCD_VSYNC + LCD_LOWER_MARGIN + LCD_YRES + LCD_UPPER_MARGIN) #define LCD_VTOT (LCD_VSYNC + LCD_LOWER_MARGIN + LCD_YRES + LCD_UPPER_MARGIN)
struct s3c2410fb_display jive_vgg2432a4_display[] = { static struct s3c2410fb_display jive_vgg2432a4_display[] = {
[0] = { [0] = {
.width = LCD_XRES, .width = LCD_XRES,
.height = LCD_YRES, .height = LCD_YRES,
...@@ -310,7 +310,7 @@ struct s3c2410fb_display jive_vgg2432a4_display[] = { ...@@ -310,7 +310,7 @@ struct s3c2410fb_display jive_vgg2432a4_display[] = {
#define S3C2410_GPCCON_MASK(x) (3 << ((x) * 2)) #define S3C2410_GPCCON_MASK(x) (3 << ((x) * 2))
#define S3C2410_GPDCON_MASK(x) (3 << ((x) * 2)) #define S3C2410_GPDCON_MASK(x) (3 << ((x) * 2))
struct s3c2410fb_mach_info jive_lcd_config = { static struct s3c2410fb_mach_info jive_lcd_config = {
.displays = jive_vgg2432a4_display, .displays = jive_vgg2432a4_display,
.num_displays = ARRAY_SIZE(jive_vgg2432a4_display), .num_displays = ARRAY_SIZE(jive_vgg2432a4_display),
.default_display = 0, .default_display = 0,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment