]> err.no Git - linux-2.6/commitdiff
[WATCHDOG] s3c2410 wdt - add .owner field
authorBen Dooks <ben-linux@fluff.org>
Mon, 10 Oct 2005 00:28:30 +0000 (01:28 +0100)
committerWim Van Sebroeck <wim@iguana.be>
Tue, 1 Nov 2005 18:31:19 +0000 (19:31 +0100)
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>
drivers/char/watchdog/s3c2410_wdt.c

index e7e20a6d64b025795b8d578ad3eefae0611f8bac..751cb77b0715531803d85010e5a09529f55d124c 100644 (file)
@@ -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,