Skip to content

Commit

Permalink
[ARM] 2964/1: S3C2410 - serial: add .owner to driver
Browse files Browse the repository at this point in the history
Patch from Ben Dooks

Initialise the driver's .owner field so that
the device driver can be referenced to the
module that owns it

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
  • Loading branch information
Ben Dooks authored and Russell King committed Oct 10, 2005
1 parent cdfc8f5 commit 7dead80
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions drivers/serial/s3c2410.c
Original file line number Diff line number Diff line change
Expand Up @@ -1235,6 +1235,7 @@ static int s3c2400_serial_probe(struct device *dev)

static struct device_driver s3c2400_serial_drv = {
.name = "s3c2400-uart",
.owner = THIS_MODULE,
.bus = &platform_bus_type,
.probe = s3c2400_serial_probe,
.remove = s3c24xx_serial_remove,
Expand Down Expand Up @@ -1338,6 +1339,7 @@ static int s3c2410_serial_probe(struct device *dev)

static struct device_driver s3c2410_serial_drv = {
.name = "s3c2410-uart",
.owner = THIS_MODULE,
.bus = &platform_bus_type,
.probe = s3c2410_serial_probe,
.remove = s3c24xx_serial_remove,
Expand Down Expand Up @@ -1499,6 +1501,7 @@ static int s3c2440_serial_probe(struct device *dev)

static struct device_driver s3c2440_serial_drv = {
.name = "s3c2440-uart",
.owner = THIS_MODULE,
.bus = &platform_bus_type,
.probe = s3c2440_serial_probe,
.remove = s3c24xx_serial_remove,
Expand Down

0 comments on commit 7dead80

Please sign in to comment.