Skip to content

Commit

Permalink
[PATCH] Owner field additions to many i2c drivers, 2 of 5
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Laurent Riffard authored and Greg Kroah-Hartman committed Oct 28, 2005
1 parent ccd7aa0 commit 0cf3628
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions drivers/i2c/busses/i2c-iop3xx.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
1 change: 1 addition & 0 deletions drivers/i2c/busses/i2c-ixp2000.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
1 change: 1 addition & 0 deletions drivers/i2c/busses/i2c-ixp4xx.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
1 change: 1 addition & 0 deletions drivers/i2c/busses/i2c-mpc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
1 change: 1 addition & 0 deletions drivers/i2c/busses/i2c-mv64xxx.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 2 additions & 0 deletions drivers/i2c/busses/i2c-s3c2410.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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,
Expand Down
1 change: 1 addition & 0 deletions drivers/i2c/chips/isp1301_omap.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 0cf3628

Please sign in to comment.