Recent i2c changes broke matroxfb
A message that is not in the archive (sent off-list or not yet received): [email protected]
PATCH 1/1 Recent i2c changes broke matroxfb
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
drivers/video/matrox/i2c-matroxfb.c +1 -1
@@ -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;
drivers/video/matrox/matroxfb_maven.c +1 -1
@@ -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);