aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorLaurent Riffard <laurent.riffard@free.fr>2005-10-17 16:51:37 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2005-10-28 17:02:11 -0400
commit0cf3628181660be4e21fe520766dcbc3da9d71c8 (patch)
tree0537200cc49c93bb2d2f3630f589ff2b87718f91 /drivers
parentccd7aa0cc9413b79b69f6cd7c18daa1c22dfa512 (diff)
[PATCH] Owner field additions to many i2c drivers, 2 of 5
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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/i2c/busses/i2c-iop3xx.c1
-rw-r--r--drivers/i2c/busses/i2c-ixp2000.c1
-rw-r--r--drivers/i2c/busses/i2c-ixp4xx.c1
-rw-r--r--drivers/i2c/busses/i2c-mpc.c1
-rw-r--r--drivers/i2c/busses/i2c-mv64xxx.c1
-rw-r--r--drivers/i2c/busses/i2c-s3c2410.c2
-rw-r--r--drivers/i2c/chips/isp1301_omap.c1
7 files changed, 8 insertions, 0 deletions
diff --git a/drivers/i2c/busses/i2c-iop3xx.c b/drivers/i2c/busses/i2c-iop3xx.c
index 745e3a51f3e5..0f7dfd8f4546 100644
--- a/drivers/i2c/busses/i2c-iop3xx.c
+++ b/drivers/i2c/busses/i2c-iop3xx.c
@@ -525,6 +525,7 @@ out:
525 525
526 526
527static struct device_driver iop3xx_i2c_driver = { 527static struct device_driver iop3xx_i2c_driver = {
528 .owner = THIS_MODULE,
528 .name = "IOP3xx-I2C", 529 .name = "IOP3xx-I2C",
529 .bus = &platform_bus_type, 530 .bus = &platform_bus_type,
530 .probe = iop3xx_i2c_probe, 531 .probe = iop3xx_i2c_probe,
diff --git a/drivers/i2c/busses/i2c-ixp2000.c b/drivers/i2c/busses/i2c-ixp2000.c
index 9dee505ceed2..c3292dc743f1 100644
--- a/drivers/i2c/busses/i2c-ixp2000.c
+++ b/drivers/i2c/busses/i2c-ixp2000.c
@@ -146,6 +146,7 @@ static int ixp2000_i2c_probe(struct device *dev)
146} 146}
147 147
148static struct device_driver ixp2000_i2c_driver = { 148static struct device_driver ixp2000_i2c_driver = {
149 .owner = THIS_MODULE,
149 .name = "IXP2000-I2C", 150 .name = "IXP2000-I2C",
150 .bus = &platform_bus_type, 151 .bus = &platform_bus_type,
151 .probe = ixp2000_i2c_probe, 152 .probe = ixp2000_i2c_probe,
diff --git a/drivers/i2c/busses/i2c-ixp4xx.c b/drivers/i2c/busses/i2c-ixp4xx.c
index 013981df38af..3169280c25a6 100644
--- a/drivers/i2c/busses/i2c-ixp4xx.c
+++ b/drivers/i2c/busses/i2c-ixp4xx.c
@@ -155,6 +155,7 @@ static int ixp4xx_i2c_probe(struct device *dev)
155} 155}
156 156
157static struct device_driver ixp4xx_i2c_driver = { 157static struct device_driver ixp4xx_i2c_driver = {
158 .owner = THIS_MODULE,
158 .name = "IXP4XX-I2C", 159 .name = "IXP4XX-I2C",
159 .bus = &platform_bus_type, 160 .bus = &platform_bus_type,
160 .probe = ixp4xx_i2c_probe, 161 .probe = ixp4xx_i2c_probe,
diff --git a/drivers/i2c/busses/i2c-mpc.c b/drivers/i2c/busses/i2c-mpc.c
index f065583ddcf1..b81c54620030 100644
--- a/drivers/i2c/busses/i2c-mpc.c
+++ b/drivers/i2c/busses/i2c-mpc.c
@@ -361,6 +361,7 @@ static int fsl_i2c_remove(struct device *device)
361 361
362/* Structure for a device driver */ 362/* Structure for a device driver */
363static struct device_driver fsl_i2c_driver = { 363static struct device_driver fsl_i2c_driver = {
364 .owner = THIS_MODULE,
364 .name = "fsl-i2c", 365 .name = "fsl-i2c",
365 .bus = &platform_bus_type, 366 .bus = &platform_bus_type,
366 .probe = fsl_i2c_probe, 367 .probe = fsl_i2c_probe,
diff --git a/drivers/i2c/busses/i2c-mv64xxx.c b/drivers/i2c/busses/i2c-mv64xxx.c
index 99abca45fece..69709ee0b896 100644
--- a/drivers/i2c/busses/i2c-mv64xxx.c
+++ b/drivers/i2c/busses/i2c-mv64xxx.c
@@ -570,6 +570,7 @@ mv64xxx_i2c_remove(struct device *dev)
570} 570}
571 571
572static struct device_driver mv64xxx_i2c_driver = { 572static struct device_driver mv64xxx_i2c_driver = {
573 .owner = THIS_MODULE,
573 .name = MV64XXX_I2C_CTLR_NAME, 574 .name = MV64XXX_I2C_CTLR_NAME,
574 .bus = &platform_bus_type, 575 .bus = &platform_bus_type,
575 .probe = mv64xxx_i2c_probe, 576 .probe = mv64xxx_i2c_probe,
diff --git a/drivers/i2c/busses/i2c-s3c2410.c b/drivers/i2c/busses/i2c-s3c2410.c
index 69fa282df2d5..6ced28e90070 100644
--- a/drivers/i2c/busses/i2c-s3c2410.c
+++ b/drivers/i2c/busses/i2c-s3c2410.c
@@ -896,6 +896,7 @@ static int s3c24xx_i2c_resume(struct device *dev)
896/* device driver for platform bus bits */ 896/* device driver for platform bus bits */
897 897
898static struct device_driver s3c2410_i2c_driver = { 898static struct device_driver s3c2410_i2c_driver = {
899 .owner = THIS_MODULE,
899 .name = "s3c2410-i2c", 900 .name = "s3c2410-i2c",
900 .bus = &platform_bus_type, 901 .bus = &platform_bus_type,
901 .probe = s3c24xx_i2c_probe, 902 .probe = s3c24xx_i2c_probe,
@@ -904,6 +905,7 @@ static struct device_driver s3c2410_i2c_driver = {
904}; 905};
905 906
906static struct device_driver s3c2440_i2c_driver = { 907static struct device_driver s3c2440_i2c_driver = {
908 .owner = THIS_MODULE,
907 .name = "s3c2440-i2c", 909 .name = "s3c2440-i2c",
908 .bus = &platform_bus_type, 910 .bus = &platform_bus_type,
909 .probe = s3c24xx_i2c_probe, 911 .probe = s3c24xx_i2c_probe,
diff --git a/drivers/i2c/chips/isp1301_omap.c b/drivers/i2c/chips/isp1301_omap.c
index 8ee56d4b3891..eaa4742e04fa 100644
--- a/drivers/i2c/chips/isp1301_omap.c
+++ b/drivers/i2c/chips/isp1301_omap.c
@@ -888,6 +888,7 @@ static int otg_remove(struct device *dev)
888} 888}
889 889
890struct device_driver omap_otg_driver = { 890struct device_driver omap_otg_driver = {
891 .owner = THIS_MODULE,
891 .name = "omap_otg", 892 .name = "omap_otg",
892 .bus = &platform_bus_type, 893 .bus = &platform_bus_type,
893 .probe = otg_probe, 894 .probe = otg_probe,