linux 2.6.16.38 w/ vs2.0.3-rc1
[linux-2.6.git] / drivers / video / console / fonts.c
index 0cc1bfd..4fd07d9 100644 (file)
@@ -66,7 +66,7 @@ static const struct font_desc *fonts[] = {
 #endif
 };
 
-#define num_fonts ARRAY_SIZE(fonts)
+#define num_fonts (sizeof(fonts)/sizeof(*fonts))
 
 #ifdef NO_FONTS
 #error No fonts configured.