]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/video/console/font_sun8x16.c
module: check kernel param length at compile time, not runtime
[linux-2.6-omap-h63xx.git] / drivers / video / console / font_sun8x16.c
index 41f910f5529c95ebc83493f2f92e72dc82413a18..5abf290c6eb76fbd8e2c3c91f5d229b3c409b59d 100644 (file)
@@ -262,14 +262,14 @@ static const unsigned char fontdata_sun8x16[FONTDATAMAX] = {
 };
 
 const struct font_desc font_sun_8x16 = {
-       SUN8x16_IDX,
-       "SUN8x16",
-       8,
-       16,
-       fontdata_sun8x16,
+       .idx    = SUN8x16_IDX,
+       .name   = "SUN8x16",
+       .width  = 8,
+       .height = 16,
+       .data   = fontdata_sun8x16,
 #ifdef __sparc__
-       10
+       .pref   = 10,
 #else
-       -1
+       .pref   = -1,
 #endif
 };