diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2007-10-16 04:29:03 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-16 12:43:17 -0400 |
commit | 908633f3ec8b3e10ef23de28ae6a5b1770118cfd (patch) | |
tree | 14acb7b617a4d3bafd71401a5a5cfac16dfa1109 /drivers/video/console/font_sun8x16.c | |
parent | ad41b439cc0650952d14f4083af36cc4b3321a77 (diff) |
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_sun8x16.c')
-rw-r--r-- | drivers/video/console/font_sun8x16.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/video/console/font_sun8x16.c b/drivers/video/console/font_sun8x16.c index 41f910f5529c..5abf290c6eb7 100644 --- a/drivers/video/console/font_sun8x16.c +++ b/drivers/video/console/font_sun8x16.c | |||
@@ -262,14 +262,14 @@ static const unsigned char fontdata_sun8x16[FONTDATAMAX] = { | |||
262 | }; | 262 | }; |
263 | 263 | ||
264 | const struct font_desc font_sun_8x16 = { | 264 | const struct font_desc font_sun_8x16 = { |
265 | SUN8x16_IDX, | 265 | .idx = SUN8x16_IDX, |
266 | "SUN8x16", | 266 | .name = "SUN8x16", |
267 | 8, | 267 | .width = 8, |
268 | 16, | 268 | .height = 16, |
269 | fontdata_sun8x16, | 269 | .data = fontdata_sun8x16, |
270 | #ifdef __sparc__ | 270 | #ifdef __sparc__ |
271 | 10 | 271 | .pref = 10, |
272 | #else | 272 | #else |
273 | -1 | 273 | .pref = -1, |
274 | #endif | 274 | #endif |
275 | }; | 275 | }; |