diff options
author | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2019-07-17 00:45:03 (EDT) |
---|---|---|
committer | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2019-07-17 00:51:53 (EDT) |
commit | 6b5ca01869aa11436e7bae37683db2a627ef7504 (patch) | |
tree | a09b01d0fa28174e5bb869fe535ea98fba21ac07 | |
parent | a303120342f20b1e6df9a53bfad2b330a8c6fc12 (diff) |
include/linux/font.h, include/linux/module.h: New files
-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) |