From 6b5ca01869aa11436e7bae37683db2a627ef7504 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Wed, 17 Jul 2019 00:45:03 -0400 Subject: include/linux/font.h, include/linux/module.h: New files --- (limited to 'include') 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) -- cgit v0.9.1