projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
134516e
)
fix compile err when no select CONFIG_DISPLAY_SUPPORT
author
yxj
<yxj@rock-chips.com>
Mon, 18 Mar 2013 09:21:48 +0000
(17:21 +0800)
committer
yxj
<yxj@rock-chips.com>
Mon, 18 Mar 2013 09:22:00 +0000
(17:22 +0800)
include/linux/rk_screen.h
patch
|
blob
|
history
diff --git
a/include/linux/rk_screen.h
b/include/linux/rk_screen.h
index ad278d08685923442161aba284c8d6fdd3273896..84f538aa1b207eb3bda050558544a54e0c98e133 100644
(file)
--- a/
include/linux/rk_screen.h
+++ b/
include/linux/rk_screen.h
@@
-194,6
+194,7
@@
struct rk29fb_info {
#ifndef CONFIG_DISPLAY_SUPPORT
static inline void set_lcd_info(struct rk29fb_screen *screen, struct rk29lcd_info *lcd_info) {}
+static inline size_t get_fb_size(void) { return 0;}
#else
extern void set_lcd_info(struct rk29fb_screen *screen, struct rk29lcd_info *lcd_info);
extern size_t get_fb_size(void);