aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/matrox
diff options
context:
space:
mode:
authorLaurent Riffard <laurent.riffard@free.fr>2005-11-26 14:52:34 -0500
committerGreg Kroah-Hartman <gregkh@suse.de>2006-01-06 01:16:24 -0500
commit1a7edcdca618d25564690c2df27c2c5c6e9f6316 (patch)
treea890b90b5eed7041090a495cfa89e5610c1bc243 /drivers/video/matrox
parente533449d291b5a28ce9527539750a0cb88146f6e (diff)
[PATCH] i2c: Drop i2c_driver.{owner,name}, 9 of 11
We should use the i2c_driver.driver's .name and .owner fields instead of the i2c_driver's ones. This patch updates the matroxfb driver. Signed-off-by: Laurent Riffard <laurent.riffard@free.fr> Signed-off-by: Jean Delvare <khali@linux-fr.org> Acked-by: Petr Vandrovec <petr@vandrovec.name> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/video/matrox')
-rw-r--r--drivers/video/matrox/matroxfb_maven.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/video/matrox/matroxfb_maven.c b/drivers/video/matrox/matroxfb_maven.c
index 78994c5fe932..f6fdb69af0b4 100644
--- a/drivers/video/matrox/matroxfb_maven.c
+++ b/drivers/video/matrox/matroxfb_maven.c
@@ -1293,8 +1293,10 @@ static int maven_command(struct i2c_client* client, unsigned int cmd, void* arg)
1293} 1293}
1294 1294
1295static struct i2c_driver maven_driver={ 1295static struct i2c_driver maven_driver={
1296 .owner = THIS_MODULE, 1296 .driver = {
1297 .name = "maven", 1297 .owner = THIS_MODULE,
1298 .name = "maven",
1299 },
1298 .id = I2C_DRIVERID_MGATVO, 1300 .id = I2C_DRIVERID_MGATVO,
1299 .attach_adapter = maven_attach_adapter, 1301 .attach_adapter = maven_attach_adapter,
1300 .detach_client = maven_detach_client, 1302 .detach_client = maven_detach_client,