summaryrefslogtreecommitdiffstats
path: root/drivers/video/console/font_7x14.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2007-10-16 10:29:03 +0200
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-10-16 18:43:17 +0200
commit908633f3ec8b3e10ef23de28ae6a5b1770118cfd (patch)
tree14acb7b617a4d3bafd71401a5a5cfac16dfa1109 /drivers/video/console/font_7x14.c
parentatyfb: atyfb: Unshare pseudo_palette (diff)
downloadlinux-908633f3ec8b3e10ef23de28ae6a5b1770118cfd.tar.xz
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_7x14.c')
-rw-r--r--drivers/video/console/font_7x14.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/video/console/font_7x14.c b/drivers/video/console/font_7x14.c
index bbf116647397..3b7dbf9c060b 100644
--- a/drivers/video/console/font_7x14.c
+++ b/drivers/video/console/font_7x14.c
@@ -4109,10 +4109,10 @@ static const unsigned char fontdata_7x14[FONTDATAMAX] = {
const struct font_desc font_7x14 = {
- FONT7x14_IDX,
- "7x14",
- 7,
- 14,
- fontdata_7x14,
- 0
+ .idx = FONT7x14_IDX,
+ .name = "7x14",
+ .width = 7,
+ .height = 14,
+ .data = fontdata_7x14,
+ .pref = 0,
};