summaryrefslogtreecommitdiffstats
path: root/drivers/char
diff options
context:
space:
mode:
authorBen Dooks <ben-linux@fluff.org>2005-10-10 02:28:30 +0200
committerWim Van Sebroeck <wim@iguana.be>2005-11-01 19:31:19 +0100
commit30da9404bcc028385867acf689a615495642bc0f (patch)
treede6b3455604c6017b2509e12f7a8f523313213ca /drivers/char
parentMerge git://git.kernel.org/pub/scm/linux/kernel/git/aia21/ntfs-2.6 (diff)
downloadlinux-30da9404bcc028385867acf689a615495642bc0f.tar.xz
linux-30da9404bcc028385867acf689a615495642bc0f.zip
[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/char')
-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)
static struct device_driver s3c2410wdt_driver = {
+ .owner = THIS_MODULE,
.name = "s3c2410-wdt",
.bus = &platform_bus_type,
.probe = s3c2410wdt_probe,