aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorBen Dooks <ben-linux@fluff.org>2005-10-09 20:28:30 -0400
committerWim Van Sebroeck <wim@iguana.be>2005-11-01 13:31:19 -0500
commit30da9404bcc028385867acf689a615495642bc0f (patch)
treede6b3455604c6017b2509e12f7a8f523313213ca /drivers
parentdf70b17f88a4d1d8545d3569a1f6d28c6004f9e4 (diff)
[WATCHDOG] s3c2410 wdt - add .owner field
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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/char/watchdog/s3c2410_wdt.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/char/watchdog/s3c2410_wdt.c b/drivers/char/watchdog/s3c2410_wdt.c
index e7e20a6d64b0..751cb77b0715 100644
--- a/drivers/char/watchdog/s3c2410_wdt.c
+++ b/drivers/char/watchdog/s3c2410_wdt.c
@@ -497,6 +497,7 @@ static int s3c2410wdt_resume(struct device *dev)
497 497
498 498
499static struct device_driver s3c2410wdt_driver = { 499static struct device_driver s3c2410wdt_driver = {
500 .owner = THIS_MODULE,
500 .name = "s3c2410-wdt", 501 .name = "s3c2410-wdt",
501 .bus = &platform_bus_type, 502 .bus = &platform_bus_type,
502 .probe = s3c2410wdt_probe, 503 .probe = s3c2410wdt_probe,