* [PATCH] Recent i2c changes broke matroxfb
[not found] <Pine.LNX.4.56.0308172137300.27362@dsl-hkigw4a35.dial.inet.fi>
@ 2003-08-17 22:49 ` Petr Vandrovec
0 siblings, 0 replies; only message in thread
From: Petr Vandrovec @ 2003-08-17 22:49 UTC (permalink / raw)
To: torvalds; +Cc: greg, petri.koistinen, linux-kernel
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);
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-08-17 22:50 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <Pine.LNX.4.56.0308172137300.27362@dsl-hkigw4a35.dial.inet.fi>
2003-08-17 22:49 ` [PATCH] Recent i2c changes broke matroxfb Petr Vandrovec
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®