Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0cf36281 authored by Laurent Riffard's avatar Laurent Riffard Committed by Greg Kroah-Hartman
Browse files

[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: default avatarLaurent Riffard <laurent.riffard@free.fr>
Signed-off-by: default avatarJean Delvare <khali@linux-fr>
Acked-by: default avatarMark A. Greer <mgreer@mvista.com>
Acked-by: default avatarBen Dooks <ben-linux@fluff.org>
Acked-by: default avatarDeepak Saxena <dsaxena@mvista.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent ccd7aa0c
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -525,6 +525,7 @@ iop3xx_i2c_probe(struct device *dev)


static struct device_driver iop3xx_i2c_driver = {
	.owner		= THIS_MODULE,
	.name		= "IOP3xx-I2C",
	.bus		= &platform_bus_type,
	.probe		= iop3xx_i2c_probe,
+1 −0
Original line number Diff line number Diff line
@@ -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,
+1 −0
Original line number Diff line number Diff line
@@ -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,
+1 −0
Original line number Diff line number Diff line
@@ -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,
+1 −0
Original line number Diff line number Diff line
@@ -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,
Loading