diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2014-10-18 21:03:02 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-10-18 21:03:02 -0400 |
commit | 0a582821d4f8edf41d9b56ae057ee2002fc275f0 (patch) | |
tree | 199f0de91106f143c4ec62b6a8598383b422205b /include | |
parent | 8a5de18239e418fe7b1f36504834689f754d8ccc (diff) | |
parent | 33ac9dba859b07d40e9ec826057d20c857fdede5 (diff) |
Merge tag 'fbdev-3.18' of git://git.kernel.org/pub/scm/linux/kernel/git/tomba/linux
Pull fbdev updates from Tomi Valkeinen:
- new 6x10 font
- various small fixes and cleanups
* tag 'fbdev-3.18' of git://git.kernel.org/pub/scm/linux/kernel/git/tomba/linux: (30 commits)
fonts: Add 6x10 font
videomode: provide dummy inline functions for !CONFIG_OF
video/atmel_lcdfb: Introduce regulator support
fbdev: sh_mobile_hdmi: Re-init regs before irq re-enable on resume
framebuffer: fix screen corruption when copying
framebuffer: fix border color
arm, fbdev, omap2, LLVMLinux: Remove nested function from omapfb
arm, fbdev, omap2, LLVMLinux: Remove nested function from omap2 dss
video: fbdev: valkyriefb.c: use container_of to resolve fb_info_valkyrie from fb_info
video: fbdev: pxafb.c: use container_of to resolve pxafb_info/layer from fb_info
video: fbdev: cyber2000fb.c: use container_of to resolve cfb_info from fb_info
video: fbdev: controlfb.c: use container_of to resolve fb_info_control from fb_info
video: fbdev: sa1100fb.c: use container_of to resolve sa1100fb_info from fb_info
video: fbdev: stifb.c: use container_of to resolve stifb_info from fb_info
video: fbdev: sis: sis_main.c: Cleaning up missing null-terminate in conjunction with strncpy
video: valkyriefb: Fix unused variable warning in set_valkyrie_clock()
video: fbdev: use %*ph specifier to dump small buffers
video: mx3fb: always enable BACKLIGHT_LCD_SUPPORT
video: fbdev: au1200fb: delete double assignment
video: fbdev: sis: delete double assignment
...
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/font.h | 4 | ||||
-rw-r--r-- | include/video/of_display_timing.h | 16 |
2 files changed, 19 insertions, 1 deletions
diff --git a/include/linux/font.h b/include/linux/font.h index 40a24ab41b36..d6821769dd1e 100644 --- a/include/linux/font.h +++ b/include/linux/font.h | |||
@@ -31,6 +31,7 @@ struct font_desc { | |||
31 | #define SUN12x22_IDX 7 | 31 | #define SUN12x22_IDX 7 |
32 | #define ACORN8x8_IDX 8 | 32 | #define ACORN8x8_IDX 8 |
33 | #define MINI4x6_IDX 9 | 33 | #define MINI4x6_IDX 9 |
34 | #define FONT6x10_IDX 10 | ||
34 | 35 | ||
35 | extern const struct font_desc font_vga_8x8, | 36 | extern const struct font_desc font_vga_8x8, |
36 | font_vga_8x16, | 37 | font_vga_8x16, |
@@ -41,7 +42,8 @@ extern const struct font_desc font_vga_8x8, | |||
41 | font_sun_8x16, | 42 | font_sun_8x16, |
42 | font_sun_12x22, | 43 | font_sun_12x22, |
43 | font_acorn_8x8, | 44 | font_acorn_8x8, |
44 | font_mini_4x6; | 45 | font_mini_4x6, |
46 | font_6x10; | ||
45 | 47 | ||
46 | /* Find a font with a specific name */ | 48 | /* Find a font with a specific name */ |
47 | 49 | ||
diff --git a/include/video/of_display_timing.h b/include/video/of_display_timing.h index 79e6697af6cf..ea755b5616d8 100644 --- a/include/video/of_display_timing.h +++ b/include/video/of_display_timing.h | |||
@@ -15,9 +15,25 @@ struct display_timings; | |||
15 | 15 | ||
16 | #define OF_USE_NATIVE_MODE -1 | 16 | #define OF_USE_NATIVE_MODE -1 |
17 | 17 | ||
18 | #ifdef CONFIG_OF | ||
18 | int of_get_display_timing(struct device_node *np, const char *name, | 19 | int of_get_display_timing(struct device_node *np, const char *name, |
19 | struct display_timing *dt); | 20 | struct display_timing *dt); |
20 | struct display_timings *of_get_display_timings(struct device_node *np); | 21 | struct display_timings *of_get_display_timings(struct device_node *np); |
21 | int of_display_timings_exist(struct device_node *np); | 22 | int of_display_timings_exist(struct device_node *np); |
23 | #else | ||
24 | static inline int of_get_display_timing(struct device_node *np, const char *name, | ||
25 | struct display_timing *dt) | ||
26 | { | ||
27 | return -ENOSYS; | ||
28 | } | ||
29 | static inline struct display_timings *of_get_display_timings(struct device_node *np) | ||
30 | { | ||
31 | return NULL; | ||
32 | } | ||
33 | static inline int of_display_timings_exist(struct device_node *np) | ||
34 | { | ||
35 | return -ENOSYS; | ||
36 | } | ||
37 | #endif | ||
22 | 38 | ||
23 | #endif | 39 | #endif |