diff options
author | Andre Heider <a.heider@gmail.com> | 2013-11-05 00:01:04 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2013-11-06 10:37:24 +0100 |
commit | 97607e85cdc44824e9617c74325bc9bc6405c383 (patch) | |
tree | 3160a39fc5be08422756f5cf42bbc35590a0be98 /include/fb.h | |
parent | d7c1612d650e87dbdebf8957bc01bd1db52f0d5b (diff) | |
download | barebox-97607e85cdc44824e9617c74325bc9bc6405c383.tar.gz barebox-97607e85cdc44824e9617c74325bc9bc6405c383.tar.xz |
video: set up the kernel's simple framebuffer driver
Add support to configure the active framebuffer for the kernel through
device tree.
Signed-off-by: Andre Heider <a.heider@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/fb.h')
-rw-r--r-- | include/fb.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/fb.h b/include/fb.h index cf9ffa05d9..98d5a0382b 100644 --- a/include/fb.h +++ b/include/fb.h @@ -105,6 +105,9 @@ struct fb_info { int enabled; int p_enable; + int register_simplefb; /* If true a simplefb device node will + * be created. + */ }; int register_framebuffer(struct fb_info *info); @@ -115,5 +118,9 @@ int register_framebuffer(struct fb_info *info); extern struct bus_type fb_bus; +/* fb internal functions */ + +int fb_register_simplefb(struct fb_info *info); + #endif /* __FB_H */ |