From: dmunsie@cecropia.com (Dennis Munsie)
To: linux-fbdev-devel@lists.sourceforge.net
Cc: ehustvedt@cecropia.com, airlied@skynet.ie
Subject: [PATCH 2.6.17-rc6-mm2 3/8] intelfb: RESEND - add preliminary i2c support
Date: Tue, 20 Jun 2006 14:55:55 -0400 (EDT) [thread overview]
Message-ID: <20060620185555.2A76390CFB3@xenon> (raw)
From: Dennis Munsie <dmunsie@cecropia.com>
[03/07] intelfb: add intelfb_i2c_chan struct.
Signed-off-by: Dennis Munsie <dmunsie@cecropia.com>
---
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;
reply other threads:[~2006-06-20 18:52 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20060620185555.2A76390CFB3@xenon \
--to=dmunsie@cecropia.com \
--cc=airlied@skynet.ie \
--cc=ehustvedt@cecropia.com \
--cc=linux-fbdev-devel@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).