From: Petr Vandrovec <vandrove@vc.cvut.cz>
To: torvalds@osdl.org
Cc: greg@kroah.com, petri.koistinen@iki.fi, linux-kernel@vger.kernel.org
Subject: [PATCH] Recent i2c changes broke matroxfb
Date: Mon, 18 Aug 2003 00:49:54 +0200 [thread overview]
Message-ID: <20030817224954.GC596@vana.vc.cvut.cz> (raw)
In-Reply-To: <Pine.LNX.4.56.0308172137300.27362@dsl-hkigw4a35.dial.inet.fi>
Hi Linus,
Name member of i2c clients & adapters moved again back to the
i2c_* from generic device. Please apply following patch. Thanks to Petri
Koistinen for bringing this to my attention.
Thanks,
Petr Vandrovec
diff -urdN linux/drivers/video/matrox/i2c-matroxfb.c linux/drivers/video/matrox/i2c-matroxfb.c
--- linux/drivers/video/matrox/i2c-matroxfb.c 2003-08-17 23:32:54.000000000 +0200
+++ linux/drivers/video/matrox/i2c-matroxfb.c 2003-08-18 00:33:31.000000000 +0200
@@ -111,7 +111,7 @@
b->mask.data = data;
b->mask.clock = clock;
b->adapter = matrox_i2c_adapter_template;
- snprintf(b->adapter.dev.name, DEVICE_NAME_SIZE, name,
+ snprintf(b->adapter.name, DEVICE_NAME_SIZE, name,
minfo->fbcon.node);
i2c_set_adapdata(&b->adapter, b);
b->adapter.algo_data = &b->bac;
diff -urdN linux/drivers/video/matrox/matroxfb_maven.c linux/drivers/video/matrox/matroxfb_maven.c
--- linux/drivers/video/matrox/matroxfb_maven.c 2003-08-17 23:32:04.000000000 +0200
+++ linux/drivers/video/matrox/matroxfb_maven.c 2003-08-18 00:34:29.000000000 +0200
@@ -1255,7 +1255,7 @@
new_client->adapter = adapter;
new_client->driver = &maven_driver;
new_client->flags = 0;
- strcpy(new_client->dev.name, "maven client");
+ strcpy(new_client->name, "maven client");
if ((err = i2c_attach_client(new_client)))
goto ERROR3;
err = maven_init_client(new_client);
parent reply other threads:[~2003-08-17 22:50 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <Pine.LNX.4.56.0308172137300.27362@dsl-hkigw4a35.dial.inet.fi>]
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=20030817224954.GC596@vana.vc.cvut.cz \
--to=vandrove@vc.cvut.cz \
--cc=greg@kroah.com \
--cc=linux-kernel@vger.kernel.org \
--cc=petri.koistinen@iki.fi \
--cc=torvalds@osdl.org \
/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
all inboxes | Powered by JetHome®