diff options
author | Dennis Munsie <dmunsie@cecropia.com> | 2006-06-20 14:55:55 -0400 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2006-07-03 19:03:11 +1000 |
commit | 183b1214402a205bf6eea2030686249c7d365fd1 (patch) | |
tree | 3bb2492ed41d41c178c33df60de74ae0b5446fde /drivers | |
parent | 82c10f07c2d7baf6f280f206f9067a4715777962 (diff) | |
download | op-kernel-dev-183b1214402a205bf6eea2030686249c7d365fd1.zip op-kernel-dev-183b1214402a205bf6eea2030686249c7d365fd1.tar.gz |
intelfb: add preliminary i2c support
[03/07] intelfb: add intelfb_i2c_chan struct.
Signed-off-by: Dennis Munsie <dmunsie@cecropia.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/video/intelfb/intelfb.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/drivers/video/intelfb/intelfb.h b/drivers/video/intelfb/intelfb.h index abd4c56..5a216b8 100644 --- a/drivers/video/intelfb/intelfb.h +++ b/drivers/video/intelfb/intelfb.h @@ -6,6 +6,10 @@ #include <linux/agp_backend.h> #include <linux/fb.h> +#ifdef CONFIG_FB_INTEL_I2C +#include <linux/i2c.h> +#include <linux/i2c-algo-bit.h> +#endif /*** Version/name ***/ #define INTELFB_VERSION "0.9.4" @@ -208,6 +212,15 @@ struct intelfb_heap_data { u32 size; // in bytes }; +#ifdef CONFIG_FB_INTEL_I2C +struct intelfb_i2c_chan { + struct intelfb_info *dinfo; + u32 reg; + struct i2c_adapter adapter; + struct i2c_algo_bit_data algo; +}; +#endif + struct intelfb_vsync { wait_queue_head_t wait; unsigned int count; |