projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5caf5db
)
ps3fb: kill superfluous zero initializations
author
Geert Uytterhoeven
<
[email protected]
>
Wed, 2 May 2007 12:48:34 +0000
(14:48 +0200)
committer
Linus Torvalds
<
[email protected]
>
Sat, 5 May 2007 00:59:08 +0000
(17:59 -0700)
ps3fb: kill superfluous zero initializations
Signed-off-by: Geert Uytterhoeven <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
drivers/video/ps3fb.c
patch
|
blob
|
history
diff --git
a/drivers/video/ps3fb.c
b/drivers/video/ps3fb.c
index dd6dd6e222d7e7735671ae84d82ab05a071bb980..f7f228d1c2d9f8a7e136c67b8c10ae51cb5c10dc 100644
(file)
--- a/
drivers/video/ps3fb.c
+++ b/
drivers/video/ps3fb.c
@@
-297,10
+297,10
@@
static const struct fb_videomode ps3fb_modedb[] = {
#define VP_OFF(i) (WIDTH(i) * Y_OFF(i) * BPP + X_OFF(i) * BPP)
#define FB_OFF(i) (GPU_OFFSET - VP_OFF(i) % GPU_OFFSET)
-static int ps3fb_mode
= 0
;
+static int ps3fb_mode;
module_param(ps3fb_mode, bool, 0);
-static char *mode_option __initdata
= NULL
;
+static char *mode_option __initdata;
static int ps3fb_get_res_table(u32 xres, u32 yres)