diff options
author | Ben Dooks <ben@simtec.co.uk> | 2009-04-17 07:36:45 -0400 |
---|---|---|
committer | Ben Dooks <ben-linux@fluff.org> | 2009-04-17 07:42:24 -0400 |
commit | 59c1ab60909ffacbf978ac72e4bb1d40d79f1465 (patch) | |
tree | bc1f55305280565d290b8c3bf9884a321ca204dc /arch/arm/mach-s3c2412 | |
parent | ad14ff37496baa4bee98ea99db8bb8615c648b49 (diff) |
[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: Ben Dooks <ben@simtec.co.uk>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Diffstat (limited to 'arch/arm/mach-s3c2412')
-rw-r--r-- | arch/arm/mach-s3c2412/mach-jive.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-s3c2412/mach-jive.c b/arch/arm/mach-s3c2412/mach-jive.c index d324f089eddb..8f0d37d43b43 100644 --- a/arch/arm/mach-s3c2412/mach-jive.c +++ b/arch/arm/mach-s3c2412/mach-jive.c | |||
@@ -277,7 +277,7 @@ __setup("mtdset=", jive_mtdset); | |||
277 | #define LCD_HTOT (LCD_HSYNC + LCD_LEFT_MARGIN + LCD_XRES + LCD_RIGHT_MARGIN) | 277 | #define LCD_HTOT (LCD_HSYNC + LCD_LEFT_MARGIN + LCD_XRES + LCD_RIGHT_MARGIN) |
278 | #define LCD_VTOT (LCD_VSYNC + LCD_LOWER_MARGIN + LCD_YRES + LCD_UPPER_MARGIN) | 278 | #define LCD_VTOT (LCD_VSYNC + LCD_LOWER_MARGIN + LCD_YRES + LCD_UPPER_MARGIN) |
279 | 279 | ||
280 | struct s3c2410fb_display jive_vgg2432a4_display[] = { | 280 | static struct s3c2410fb_display jive_vgg2432a4_display[] = { |
281 | [0] = { | 281 | [0] = { |
282 | .width = LCD_XRES, | 282 | .width = LCD_XRES, |
283 | .height = LCD_YRES, | 283 | .height = LCD_YRES, |
@@ -310,7 +310,7 @@ struct s3c2410fb_display jive_vgg2432a4_display[] = { | |||
310 | #define S3C2410_GPCCON_MASK(x) (3 << ((x) * 2)) | 310 | #define S3C2410_GPCCON_MASK(x) (3 << ((x) * 2)) |
311 | #define S3C2410_GPDCON_MASK(x) (3 << ((x) * 2)) | 311 | #define S3C2410_GPDCON_MASK(x) (3 << ((x) * 2)) |
312 | 312 | ||
313 | struct s3c2410fb_mach_info jive_lcd_config = { | 313 | static struct s3c2410fb_mach_info jive_lcd_config = { |
314 | .displays = jive_vgg2432a4_display, | 314 | .displays = jive_vgg2432a4_display, |
315 | .num_displays = ARRAY_SIZE(jive_vgg2432a4_display), | 315 | .num_displays = ARRAY_SIZE(jive_vgg2432a4_display), |
316 | .default_display = 0, | 316 | .default_display = 0, |