diff options
-rw-r--r-- | include/linux/font.h | 23 | ||||
-rw-r--r-- | include/linux/module.h | 1 |
2 files changed, 24 insertions, 0 deletions
diff --git a/include/linux/font.h b/include/linux/font.h new file mode 100644 index 0000000..572d4bb --- /dev/null +++ b/include/linux/font.h @@ -0,0 +1,23 @@ +#ifndef LINUX_FONT_H +#define LINUX_FONT_H + +struct font_desc { + int idx; + const char *name; + int width; + int height; + const void *data; + int pref; +}; + +#define MPLUS_1MN_MEDIUM_10x14_IDX 0 +#define MPLUS_1MN_REGULAR_12x17_IDX 1 +#define MPLUS_1MN_REGULAR_14x19_IDX 2 +#define MPLUS_1MN_REGULAR_16x22_IDX 3 + +extern const struct font_desc font_mplus_1mn_medium_10x14; +extern const struct font_desc font_mplus_1mn_regular_12x17; +extern const struct font_desc font_mplus_1mn_regular_14x19; +extern const struct font_desc font_mplus_1mn_regular_16x22; + +#endif /* LINUX_FONT_H */ diff --git a/include/linux/module.h b/include/linux/module.h new file mode 100644 index 0000000..4ff48a6 --- /dev/null +++ b/include/linux/module.h @@ -0,0 +1 @@ +#define EXPORT_SYMBOL(sym) |