Skip to content

Commit

Permalink
intelfb: add preliminary i2c support
Browse files Browse the repository at this point in the history
[03/07] intelfb: add intelfb_i2c_chan struct.

Signed-off-by: Dennis Munsie <dmunsie@cecropia.com>
  • Loading branch information
Dennis Munsie authored and Dave Airlie committed Jul 3, 2006
1 parent 82c10f0 commit 183b121
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions drivers/video/intelfb/intelfb.h
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 183b121

Please sign in to comment.