summaryrefslogtreecommitdiff
path: root/sys/dev/fb
diff options
context:
space:
mode:
authorMarius Strobl <marius@FreeBSD.org>2007-06-16 21:31:53 +0000
committerMarius Strobl <marius@FreeBSD.org>2007-06-16 21:31:53 +0000
commit7a89ac4d26cdf52fbf3f71ce7b24981da2282b5e (patch)
treea71bf25d6e88b96c54f856880ca3261486521a95 /sys/dev/fb
parentbcc231ecb60ef66429f8ae7381740fa5b4e49bf0 (diff)
Notes
Diffstat (limited to 'sys/dev/fb')
-rw-r--r--sys/dev/fb/boot_font.c2
-rw-r--r--sys/dev/fb/gfb.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/fb/boot_font.c b/sys/dev/fb/boot_font.c
index b89216876233..b1cc5f08a81b 100644
--- a/sys/dev/fb/boot_font.c
+++ b/sys/dev/fb/boot_font.c
@@ -47,7 +47,7 @@ __FBSDID("$FreeBSD$");
#include <dev/fb/gfb.h>
-struct gfb_font bold8x16 = {
+const struct gfb_font bold8x16 = {
8,
16,
{
diff --git a/sys/dev/fb/gfb.h b/sys/dev/fb/gfb.h
index 85ace52ce6fe..ee70640b8a5f 100644
--- a/sys/dev/fb/gfb.h
+++ b/sys/dev/fb/gfb.h
@@ -35,7 +35,7 @@
struct gfb_font {
int width;
int height;
- u_char data[256 * 32];
+ const u_char data[];
};
#endif /* _FB_GFB_H_ */