Skip to content

Commit

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

Add initialisation of .owner field so that
the device driver can be referenced to the
module that owns it.

Signed-off-by: Ben Dooks <[email protected]>
Signed-off-by: Russell King <[email protected]>
  • Loading branch information
Ben Dooks authored and Russell King committed Oct 10, 2005
1 parent 7c39898 commit cdfc8f5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/char/s3c2410-rtc.c
Original file line number Diff line number Diff line change
Expand Up @@ -564,6 +564,7 @@ static int s3c2410_rtc_resume(struct device *dev, u32 level)

static struct device_driver s3c2410_rtcdrv = {
.name = "s3c2410-rtc",
.owner = THIS_MODULE,
.bus = &platform_bus_type,
.probe = s3c2410_rtc_probe,
.remove = s3c2410_rtc_remove,
Expand Down

0 comments on commit cdfc8f5

Please sign in to comment.