提交 bd685ac8 编写于 作者: G Geert Uytterhoeven 提交者: Linus Torvalds

ps3fb: kill superfluous zero initializations

ps3fb: kill superfluous zero initializations
Signed-off-by: NGeert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 5caf5db8
...@@ -297,10 +297,10 @@ static const struct fb_videomode ps3fb_modedb[] = { ...@@ -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 VP_OFF(i) (WIDTH(i) * Y_OFF(i) * BPP + X_OFF(i) * BPP)
#define FB_OFF(i) (GPU_OFFSET - VP_OFF(i) % GPU_OFFSET) #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); 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) static int ps3fb_get_res_table(u32 xres, u32 yres)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册