summaryrefslogtreecommitdiff
path: root/drivers/acorn/char
diff options
context:
space:
mode:
authorLaurent Riffard <laurent.riffard@free.fr>2005-11-26 22:51:06 +0300
committerGreg Kroah-Hartman <gregkh@suse.de>2006-01-06 09:16:24 +0300
commite533449d291b5a28ce9527539750a0cb88146f6e (patch)
treed7b7045a247276594846bddd073c46f34f3e02a5 /drivers/acorn/char
parente100fe103e679372b3d1d6e9d32fd3ab57484be2 (diff)
downloadlinux-e533449d291b5a28ce9527539750a0cb88146f6e.tar.xz
[PATCH] i2c: Drop i2c_driver.{owner,name}, 8 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 drivers for acorn arch. Signed-off-by: Laurent Riffard <laurent.riffard@free.fr> Signed-off-by: Jean Delvare <khali@linux-fr.org> Acked-by: Russell King <rmk+kernel@arm.linux.org.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/acorn/char')
-rw-r--r--drivers/acorn/char/pcf8583.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/acorn/char/pcf8583.c b/drivers/acorn/char/pcf8583.c
index befc9469b4f2..5fc5940e637c 100644
--- a/drivers/acorn/char/pcf8583.c
+++ b/drivers/acorn/char/pcf8583.c
@@ -257,7 +257,10 @@ pcf8583_command(struct i2c_client *client, unsigned int cmd, void *arg)
}
static struct i2c_driver pcf8583_driver = {
- .name = "PCF8583",
+ .driver = {
+ .owner = THIS_MODULE,
+ .name = "PCF8583",
+ },
.id = I2C_DRIVERID_PCF8583,
.attach_adapter = pcf8583_probe,
.detach_client = pcf8583_detach,