Skip to content

Commit

Permalink
[WATCHDOG] s3c2410 wdt - add .owner field
Browse files Browse the repository at this point in the history
Initialise the .owner field of the device driver
with the module that owns it, for easier tracking
of device driver ownership.

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
  • Loading branch information
Ben Dooks authored and Wim Van Sebroeck committed Nov 1, 2005
1 parent df70b17 commit 30da940
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/char/watchdog/s3c2410_wdt.c
Original file line number Diff line number Diff line change
Expand Up @@ -497,6 +497,7 @@ static int s3c2410wdt_resume(struct device *dev)


static struct device_driver s3c2410wdt_driver = {
.owner = THIS_MODULE,
.name = "s3c2410-wdt",
.bus = &platform_bus_type,
.probe = s3c2410wdt_probe,
Expand Down

0 comments on commit 30da940

Please sign in to comment.