[PATCH 3/7 2.6.17-rc6-mm2] add preliminary i2c support to intelfb

From
Dennis Munsie <hidden>
Date
2006-06-14 17:50:24
From: Dennis Munsie <redacted>

[03/07] intelfb: add intelfb_i2c_chan struct.

Signed-off-by: Dennis Munsie <redacted>

---

drivers/video/intelfb/intelfb.h |   13 +++++++++++++
1 file changed, 13 insertions(+)

diff -Naurp -X linux-2.6.17-rc6-patched//Documentation/dontdiff  
linux-2.6.17-rc6-patched/drivers/video/intelfb/intelfb.h linux/ 
drivers/video/intelfb/intelfb.h
--- linux-2.6.17-rc6-patched/drivers/video/intelfb/intelfb.h	 
2006-06-14 10:27:39.000000000 -0500
+++ linux/drivers/video/intelfb/intelfb.h	2006-06-14  
10:29:39.000000000 -0500
@@ -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;
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help