diff options
author | Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com> | 2007-05-02 08:48:34 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-05-04 20:59:08 -0400 |
commit | bd685ac8e78b9bfd4a0145be22a7ff11ab11adef (patch) | |
tree | 82e2efdbe862371ce3f6fdf7c53c24ad4a62a024 /drivers/video/ps3fb.c | |
parent | 5caf5db887b2bc87d74a78674d8e3e4774fa2a14 (diff) |
ps3fb: kill superfluous zero initializations
ps3fb: kill superfluous zero initializations
Signed-off-by: Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/video/ps3fb.c')
-rw-r--r-- | drivers/video/ps3fb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/video/ps3fb.c b/drivers/video/ps3fb.c index dd6dd6e222d7..f7f228d1c2d9 100644 --- a/drivers/video/ps3fb.c +++ b/drivers/video/ps3fb.c | |||
@@ -297,10 +297,10 @@ static const struct fb_videomode ps3fb_modedb[] = { | |||
297 | #define VP_OFF(i) (WIDTH(i) * Y_OFF(i) * BPP + X_OFF(i) * BPP) | 297 | #define VP_OFF(i) (WIDTH(i) * Y_OFF(i) * BPP + X_OFF(i) * BPP) |
298 | #define FB_OFF(i) (GPU_OFFSET - VP_OFF(i) % GPU_OFFSET) | 298 | #define FB_OFF(i) (GPU_OFFSET - VP_OFF(i) % GPU_OFFSET) |
299 | 299 | ||
300 | static int ps3fb_mode = 0; | 300 | static int ps3fb_mode; |
301 | module_param(ps3fb_mode, bool, 0); | 301 | module_param(ps3fb_mode, bool, 0); |
302 | 302 | ||
303 | static char *mode_option __initdata = NULL; | 303 | static char *mode_option __initdata; |
304 | 304 | ||
305 | 305 | ||
306 | static int ps3fb_get_res_table(u32 xres, u32 yres) | 306 | static int ps3fb_get_res_table(u32 xres, u32 yres) |