aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2007-10-16 04:29:03 -0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-10-16 12:43:17 -0400
commit908633f3ec8b3e10ef23de28ae6a5b1770118cfd (patch)
tree14acb7b617a4d3bafd71401a5a5cfac16dfa1109 /drivers
parentad41b439cc0650952d14f4083af36cc4b3321a77 (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')
-rw-r--r--drivers/video/console/font_10x18.c14
-rw-r--r--drivers/video/console/font_6x11.c13
-rw-r--r--drivers/video/console/font_7x14.c12
-rw-r--r--drivers/video/console/font_8x16.c12
-rw-r--r--drivers/video/console/font_8x8.c12
-rw-r--r--drivers/video/console/font_acorn_8x8.c14
-rw-r--r--drivers/video/console/font_mini_4x6.c12
-rw-r--r--drivers/video/console/font_pearl_8x8.c12
-rw-r--r--drivers/video/console/font_sun12x22.c14
-rw-r--r--drivers/video/console/font_sun8x16.c14
10 files changed, 65 insertions, 64 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] = {
5133 5133
5134 5134
5135const struct font_desc font_10x18 = { 5135const struct font_desc font_10x18 = {
5136 FONT10x18_IDX, 5136 .idx = FONT10x18_IDX,
5137 "10x18", 5137 .name = "10x18",
5138 10, 5138 .width = 10,
5139 18, 5139 .height = 18,
5140 fontdata_10x18, 5140 .data = fontdata_10x18,
5141#ifdef __sparc__ 5141#ifdef __sparc__
5142 5 5142 .pref = 5,
5143#else 5143#else
5144 -1 5144 .pref = -1,
5145#endif 5145#endif
5146}; 5146};
diff --git a/drivers/video/console/font_6x11.c b/drivers/video/console/font_6x11.c
index 89976cd97494..46e86e67aa6a 100644
--- a/drivers/video/console/font_6x11.c
+++ b/drivers/video/console/font_6x11.c
@@ -3342,10 +3342,11 @@ static const unsigned char fontdata_6x11[FONTDATAMAX] = {
3342 3342
3343 3343
3344const struct font_desc font_vga_6x11 = { 3344const struct font_desc font_vga_6x11 = {
3345 VGA6x11_IDX, 3345 .idx = VGA6x11_IDX,
3346 "ProFont6x11", 3346 .name = "ProFont6x11",
3347 6, 3347 .width = 6,
3348 11, 3348 .height = 11,
3349 fontdata_6x11, 3349 .data = fontdata_6x11,
3350 -2000 /* Try avoiding this font if possible unless on MAC */ 3350 /* Try avoiding this font if possible unless on MAC */
3351 .pref = -2000,
3351}; 3352};
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] = {
4109 4109
4110 4110
4111const struct font_desc font_7x14 = { 4111const struct font_desc font_7x14 = {
4112 FONT7x14_IDX, 4112 .idx = FONT7x14_IDX,
4113 "7x14", 4113 .name = "7x14",
4114 7, 4114 .width = 7,
4115 14, 4115 .height = 14,
4116 fontdata_7x14, 4116 .data = fontdata_7x14,
4117 0 4117 .pref = 0,
4118}; 4118};
diff --git a/drivers/video/console/font_8x16.c b/drivers/video/console/font_8x16.c
index 74fe86f28ff4..a9f35b4a0804 100644
--- a/drivers/video/console/font_8x16.c
+++ b/drivers/video/console/font_8x16.c
@@ -4622,10 +4622,10 @@ static const unsigned char fontdata_8x16[FONTDATAMAX] = {
4622 4622
4623 4623
4624const struct font_desc font_vga_8x16 = { 4624const struct font_desc font_vga_8x16 = {
4625 VGA8x16_IDX, 4625 .idx = VGA8x16_IDX,
4626 "VGA8x16", 4626 .name = "VGA8x16",
4627 8, 4627 .width = 8,
4628 16, 4628 .height = 16,
4629 fontdata_8x16, 4629 .data = fontdata_8x16,
4630 0 4630 .pref = 0,
4631}; 4631};
diff --git a/drivers/video/console/font_8x8.c b/drivers/video/console/font_8x8.c
index 26199f8ee908..9f56efe2cee7 100644
--- a/drivers/video/console/font_8x8.c
+++ b/drivers/video/console/font_8x8.c
@@ -2574,10 +2574,10 @@ static const unsigned char fontdata_8x8[FONTDATAMAX] = {
2574 2574
2575 2575
2576const struct font_desc font_vga_8x8 = { 2576const struct font_desc font_vga_8x8 = {
2577 VGA8x8_IDX, 2577 .idx = VGA8x8_IDX,
2578 "VGA8x8", 2578 .name = "VGA8x8",
2579 8, 2579 .width = 8,
2580 8, 2580 .height = 8,
2581 fontdata_8x8, 2581 .data = fontdata_8x8,
2582 0 2582 .pref = 0,
2583}; 2583};
diff --git a/drivers/video/console/font_acorn_8x8.c b/drivers/video/console/font_acorn_8x8.c
index 40f3d4eeb198..639e31ae1100 100644
--- a/drivers/video/console/font_acorn_8x8.c
+++ b/drivers/video/console/font_acorn_8x8.c
@@ -262,14 +262,14 @@ static const unsigned char acorndata_8x8[] = {
262}; 262};
263 263
264const struct font_desc font_acorn_8x8 = { 264const struct font_desc font_acorn_8x8 = {
265 ACORN8x8_IDX, 265 .idx = ACORN8x8_IDX,
266 "Acorn8x8", 266 .name = "Acorn8x8",
267 8, 267 .width = 8,
268 8, 268 .height = 8,
269 acorndata_8x8, 269 .data = acorndata_8x8,
270#ifdef CONFIG_ARCH_ACORN 270#ifdef CONFIG_ARCH_ACORN
271 20 271 .pref = 20,
272#else 272#else
273 0 273 .pref = 0,
274#endif 274#endif
275}; 275};
diff --git a/drivers/video/console/font_mini_4x6.c b/drivers/video/console/font_mini_4x6.c
index d818234fdf11..a19a7f33133e 100644
--- a/drivers/video/console/font_mini_4x6.c
+++ b/drivers/video/console/font_mini_4x6.c
@@ -2148,11 +2148,11 @@ static const unsigned char fontdata_mini_4x6[FONTDATAMAX] = {
2148}; 2148};
2149 2149
2150const struct font_desc font_mini_4x6 = { 2150const struct font_desc font_mini_4x6 = {
2151 MINI4x6_IDX, 2151 .idx = MINI4x6_IDX,
2152 "MINI4x6", 2152 .name = "MINI4x6",
2153 4, 2153 .width = 4,
2154 6, 2154 .height = 6,
2155 fontdata_mini_4x6, 2155 .data = fontdata_mini_4x6,
2156 3 2156 .pref = 3,
2157}; 2157};
2158 2158
diff --git a/drivers/video/console/font_pearl_8x8.c b/drivers/video/console/font_pearl_8x8.c
index e646c88f55c7..dc6ad539ca4e 100644
--- a/drivers/video/console/font_pearl_8x8.c
+++ b/drivers/video/console/font_pearl_8x8.c
@@ -2578,10 +2578,10 @@ static const unsigned char fontdata_pearl8x8[FONTDATAMAX] = {
2578}; 2578};
2579 2579
2580const struct font_desc font_pearl_8x8 = { 2580const struct font_desc font_pearl_8x8 = {
2581 PEARL8x8_IDX, 2581 .idx = PEARL8x8_IDX,
2582 "PEARL8x8", 2582 .name = "PEARL8x8",
2583 8, 2583 .width = 8,
2584 8, 2584 .height = 8,
2585 fontdata_pearl8x8, 2585 .data = fontdata_pearl8x8,
2586 2 2586 .pref = 2,
2587}; 2587};
diff --git a/drivers/video/console/font_sun12x22.c b/drivers/video/console/font_sun12x22.c
index ab5eb93407b4..d3643853c33a 100644
--- a/drivers/video/console/font_sun12x22.c
+++ b/drivers/video/console/font_sun12x22.c
@@ -6152,14 +6152,14 @@ static const unsigned char fontdata_sun12x22[FONTDATAMAX] = {
6152 6152
6153 6153
6154const struct font_desc font_sun_12x22 = { 6154const struct font_desc font_sun_12x22 = {
6155 SUN12x22_IDX, 6155 .idx = SUN12x22_IDX,
6156 "SUN12x22", 6156 .name = "SUN12x22",
6157 12, 6157 .width = 12,
6158 22, 6158 .height = 22,
6159 fontdata_sun12x22, 6159 .data = fontdata_sun12x22,
6160#ifdef __sparc__ 6160#ifdef __sparc__
6161 5 6161 .pref = 5,
6162#else 6162#else
6163 -1 6163 .pref = -1,
6164#endif 6164#endif
6165}; 6165};
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
264const struct font_desc font_sun_8x16 = { 264const 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};