Commit 37cfbd31 authored by Olof Johansson's avatar Olof Johansson Committed by Linus Torvalds

[PATCH] ppc64: switch screen_info init to C99

Minor cleanup: Use C99 initializers for the screen_info struct.
Signed-off-by: default avatarOlof Johansson <olof@austin.ibm.com>
Signed-off-by: default avatarAnton Blanchard <anton@samba.org>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent d983cfb9
...@@ -112,15 +112,12 @@ static struct notifier_block ppc64_panic_block = { ...@@ -112,15 +112,12 @@ static struct notifier_block ppc64_panic_block = {
* these processors use on existing boards. -- Dan * these processors use on existing boards. -- Dan
*/ */
struct screen_info screen_info = { struct screen_info screen_info = {
0, 25, /* orig-x, orig-y */ .orig_x = 0,
0, /* unused */ .orig_y = 25,
0, /* orig-video-page */ .orig_video_cols = 80,
0, /* orig-video-mode */ .orig_video_lines = 25,
80, /* orig-video-cols */ .orig_video_isVGA = 1,
0,0,0, /* ega_ax, ega_bx, ega_cx */ .orig_video_points = 16
25, /* orig-video-lines */
1, /* orig-video-isVGA */
16 /* orig-video-points */
}; };
/* /*
......
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