]> err.no Git - linux-2.6/commitdiff
[PATCH] Owner field additions to many i2c drivers, 2 of 5
authorLaurent Riffard <laurent.riffard@free.fr>
Mon, 17 Oct 2005 20:51:37 +0000 (22:51 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 28 Oct 2005 21:02:11 +0000 (14:02 -0700)
This patch updates the .owner field for various struct xxxx_driver variables,
other than pci_driver.

Signed-off-by: Laurent Riffard <laurent.riffard@free.fr>
Signed-off-by: Jean Delvare <khali@linux-fr>
Acked-by: Mark A. Greer <mgreer@mvista.com>
Acked-by: Ben Dooks <ben-linux@fluff.org>
Acked-by: Deepak Saxena <dsaxena@mvista.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/i2c/busses/i2c-iop3xx.c
drivers/i2c/busses/i2c-ixp2000.c
drivers/i2c/busses/i2c-ixp4xx.c
drivers/i2c/busses/i2c-mpc.c
drivers/i2c/busses/i2c-mv64xxx.c
drivers/i2c/busses/i2c-s3c2410.c
drivers/i2c/chips/isp1301_omap.c

index 745e3a51f3e517851db91b698e8e66dd491ab8d5..0f7dfd8f454645e73e79d2f28ff0725ba952a48e 100644 (file)
@@ -525,6 +525,7 @@ out:
 
 
 static struct device_driver iop3xx_i2c_driver = {
+       .owner          = THIS_MODULE,
        .name           = "IOP3xx-I2C",
        .bus            = &platform_bus_type,
        .probe          = iop3xx_i2c_probe,
index 9dee505ceed224bcceb36c66515c0cc8f974a396..c3292dc743f1e239d28458825854b19e0b9ea706 100644 (file)
@@ -146,6 +146,7 @@ static int ixp2000_i2c_probe(struct device *dev)
 }
 
 static struct device_driver ixp2000_i2c_driver = {
+       .owner          = THIS_MODULE,
        .name           = "IXP2000-I2C",
        .bus            = &platform_bus_type,
        .probe          = ixp2000_i2c_probe,
index 013981df38af2e45eaf854d11e16944cd4143642..3169280c25a6cc95bd9ea18406e8c47fd461d4e2 100644 (file)
@@ -155,6 +155,7 @@ static int ixp4xx_i2c_probe(struct device *dev)
 }
 
 static struct device_driver ixp4xx_i2c_driver = {
+       .owner          = THIS_MODULE,
        .name           = "IXP4XX-I2C",
        .bus            = &platform_bus_type,
        .probe          = ixp4xx_i2c_probe,
index f065583ddcf104dea3b14ef5e3015234c985c72f..b81c546200309e54363ba5837334c36231a17c12 100644 (file)
@@ -361,6 +361,7 @@ static int fsl_i2c_remove(struct device *device)
 
 /* Structure for a device driver */
 static struct device_driver fsl_i2c_driver = {
+       .owner = THIS_MODULE,
        .name = "fsl-i2c",
        .bus = &platform_bus_type,
        .probe = fsl_i2c_probe,
index 99abca45fece4d9ea24603529e4ff00a5d9ad271..69709ee0b896b2c1c8e281d504bdfa1a51391b80 100644 (file)
@@ -570,6 +570,7 @@ mv64xxx_i2c_remove(struct device *dev)
 }
 
 static struct device_driver mv64xxx_i2c_driver = {
+       .owner  = THIS_MODULE,
        .name   = MV64XXX_I2C_CTLR_NAME,
        .bus    = &platform_bus_type,
        .probe  = mv64xxx_i2c_probe,
index 69fa282df2d55879a27624ed22cd1a88a3b25df5..6ced28e90070a90d6cf3eb7ebd1ad4d9653e30b2 100644 (file)
@@ -896,6 +896,7 @@ static int s3c24xx_i2c_resume(struct device *dev)
 /* device driver for platform bus bits */
 
 static struct device_driver s3c2410_i2c_driver = {
+       .owner          = THIS_MODULE,
        .name           = "s3c2410-i2c",
        .bus            = &platform_bus_type,
        .probe          = s3c24xx_i2c_probe,
@@ -904,6 +905,7 @@ static struct device_driver s3c2410_i2c_driver = {
 };
 
 static struct device_driver s3c2440_i2c_driver = {
+       .owner          = THIS_MODULE,
        .name           = "s3c2440-i2c",
        .bus            = &platform_bus_type,
        .probe          = s3c24xx_i2c_probe,
index 8ee56d4b38910486b42746c953d9f4e6cff5135a..eaa4742e04fa661bda29b62992a58a17ce52a6e0 100644 (file)
@@ -888,6 +888,7 @@ static int otg_remove(struct device *dev)
 }
 
 struct device_driver omap_otg_driver = {
+       .owner          = THIS_MODULE,
        .name           = "omap_otg",
        .bus            = &platform_bus_type,
        .probe          = otg_probe,