[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>
This commit is contained in:

committed by
Greg Kroah-Hartman

parent
ccd7aa0cc9
commit
0cf3628181
@@ -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,
|
||||
|
Reference in New Issue
Block a user