projects
/
linux-flexiantxendom0-3.2.10.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
- 2.6.17 port work build breaks, but the patch set is relativly stable
[linux-flexiantxendom0-3.2.10.git]
/
drivers
/
video
/
console
/
fonts.c
diff --git
a/drivers/video/console/fonts.c
b/drivers/video/console/fonts.c
index
4fd07d9
..
0cc1bfd
100644
(file)
--- a/
drivers/video/console/fonts.c
+++ b/
drivers/video/console/fonts.c
@@
-66,7
+66,7
@@
static const struct font_desc *fonts[] = {
#endif
};
-#define num_fonts (sizeof(fonts)/sizeof(*fonts))
+#define num_fonts ARRAY_SIZE(fonts)
#ifdef NO_FONTS
#error No fonts configured.