diff options
author | Olof Johansson <olof@austin.ibm.com> | 2004-08-22 22:33:39 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2004-08-22 22:33:39 -0700 |
commit | 37cfbd3191f15ecb84595c45fb095033fe54bd3a (patch) | |
tree | 123ff08572562c602445f6bf9745ab6a683c5efd /arch | |
parent | d983cfb9e563eb65b6772f75e700c7b9b4c984db (diff) | |
download | history-37cfbd3191f15ecb84595c45fb095033fe54bd3a.tar.gz |
[PATCH] ppc64: switch screen_info init to C99
Minor cleanup: Use C99 initializers for the screen_info struct.
Signed-off-by: Olof Johansson <olof@austin.ibm.com>
Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/ppc64/kernel/setup.c | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/arch/ppc64/kernel/setup.c b/arch/ppc64/kernel/setup.c index 67366c0e1a8cd9..0347017101dfd6 100644 --- a/arch/ppc64/kernel/setup.c +++ b/arch/ppc64/kernel/setup.c @@ -112,15 +112,12 @@ static struct notifier_block ppc64_panic_block = { * these processors use on existing boards. -- Dan */ struct screen_info screen_info = { - 0, 25, /* orig-x, orig-y */ - 0, /* unused */ - 0, /* orig-video-page */ - 0, /* orig-video-mode */ - 80, /* orig-video-cols */ - 0,0,0, /* ega_ax, ega_bx, ega_cx */ - 25, /* orig-video-lines */ - 1, /* orig-video-isVGA */ - 16 /* orig-video-points */ + .orig_x = 0, + .orig_y = 25, + .orig_video_cols = 80, + .orig_video_lines = 25, + .orig_video_isVGA = 1, + .orig_video_points = 16 }; /* |