aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/video/intelfb/intelfb.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/drivers/video/intelfb/intelfb.h b/drivers/video/intelfb/intelfb.h
index abd4c5632e38..5a216b81aa23 100644
--- a/drivers/video/intelfb/intelfb.h
+++ b/drivers/video/intelfb/intelfb.h
@@ -6,6 +6,10 @@
6#include <linux/agp_backend.h> 6#include <linux/agp_backend.h>
7#include <linux/fb.h> 7#include <linux/fb.h>
8 8
9#ifdef CONFIG_FB_INTEL_I2C
10#include <linux/i2c.h>
11#include <linux/i2c-algo-bit.h>
12#endif
9 13
10/*** Version/name ***/ 14/*** Version/name ***/
11#define INTELFB_VERSION "0.9.4" 15#define INTELFB_VERSION "0.9.4"
@@ -208,6 +212,15 @@ struct intelfb_heap_data {
208 u32 size; // in bytes 212 u32 size; // in bytes
209}; 213};
210 214
215#ifdef CONFIG_FB_INTEL_I2C
216struct intelfb_i2c_chan {
217 struct intelfb_info *dinfo;
218 u32 reg;
219 struct i2c_adapter adapter;
220 struct i2c_algo_bit_data algo;
221};
222#endif
223
211struct intelfb_vsync { 224struct intelfb_vsync {
212 wait_queue_head_t wait; 225 wait_queue_head_t wait;
213 unsigned int count; 226 unsigned int count;