diff options
Diffstat (limited to 'drivers/video/i810/i810_main.h')
-rw-r--r-- | drivers/video/i810/i810_main.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/drivers/video/i810/i810_main.h b/drivers/video/i810/i810_main.h index 43b4297b4d48..06072a6466f2 100644 --- a/drivers/video/i810/i810_main.h +++ b/drivers/video/i810/i810_main.h | |||
@@ -83,6 +83,22 @@ extern int i810fb_sync (struct fb_info *p); | |||
83 | extern void i810fb_init_ringbuffer(struct fb_info *info); | 83 | extern void i810fb_init_ringbuffer(struct fb_info *info); |
84 | extern void i810fb_load_front (u32 offset, struct fb_info *info); | 84 | extern void i810fb_load_front (u32 offset, struct fb_info *info); |
85 | 85 | ||
86 | #ifdef CONFIG_FB_I810_I2C | ||
87 | /* I2C */ | ||
88 | extern int i810_probe_i2c_connector(struct fb_info *info, u8 **out_edid, | ||
89 | int conn); | ||
90 | extern void i810_create_i2c_busses(struct i810fb_par *par); | ||
91 | extern void i810_delete_i2c_busses(struct i810fb_par *par); | ||
92 | #else | ||
93 | static inline int i810_probe_i2c_connector(struct fb_info *info, u8 **out_edid, | ||
94 | int conn) | ||
95 | { | ||
96 | return 1; | ||
97 | } | ||
98 | static inline void i810_create_i2c_busses(struct i810fb_par *par) { } | ||
99 | static inline void i810_delete_i2c_busses(struct i810fb_par *par) { } | ||
100 | #endif | ||
101 | |||
86 | /* Conditionals */ | 102 | /* Conditionals */ |
87 | #ifdef CONFIG_X86 | 103 | #ifdef CONFIG_X86 |
88 | inline void flush_cache(void) | 104 | inline void flush_cache(void) |