diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2007-10-16 01:29:03 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-16 09:43:17 -0700 |
commit | 908633f3ec8b3e10ef23de28ae6a5b1770118cfd (patch) | |
tree | 14acb7b617a4d3bafd71401a5a5cfac16dfa1109 /drivers/video/console/font_10x18.c | |
parent | ad41b439cc0650952d14f4083af36cc4b3321a77 (diff) | |
download | blackbird-op-linux-908633f3ec8b3e10ef23de28ae6a5b1770118cfd.tar.gz blackbird-op-linux-908633f3ec8b3e10ef23de28ae6a5b1770118cfd.zip |
fbcon: Convert struct font_desc to use ISO C initializers
Akpm's patch "newport_con warning fix" got me to look at the console drivers
again and one thing that I noticed was that none of the fonts was using ISO
initializers for it's fonts.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Antonino Daplas <adaplas@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/video/console/font_10x18.c')
-rw-r--r-- | drivers/video/console/font_10x18.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/video/console/font_10x18.c b/drivers/video/console/font_10x18.c index e6aa0eab5bb6..6be72bb218ee 100644 --- a/drivers/video/console/font_10x18.c +++ b/drivers/video/console/font_10x18.c @@ -5133,14 +5133,14 @@ static const unsigned char fontdata_10x18[FONTDATAMAX] = { const struct font_desc font_10x18 = { - FONT10x18_IDX, - "10x18", - 10, - 18, - fontdata_10x18, + .idx = FONT10x18_IDX, + .name = "10x18", + .width = 10, + .height = 18, + .data = fontdata_10x18, #ifdef __sparc__ - 5 + .pref = 5, #else - -1 + .pref = -1, #endif }; |