diff options
author | Wim Van Sebroeck <wim@iguana.be> | 2005-10-23 15:21:44 +0200 |
---|---|---|
committer | Wim Van Sebroeck <wim@iguana.be> | 2005-11-01 19:31:59 +0100 |
commit | de4ae58fc9f46482f96306301011dfc8b404491f (patch) | |
tree | b7b86327638d0273c1874c9a08edef2b2414accb /drivers/char/watchdog/mpcore_wdt.c | |
parent | b3faed6373bfd4468384880a39d4014ead7159f7 (diff) | |
download | linux-stable-de4ae58fc9f46482f96306301011dfc8b404491f.tar.gz linux-stable-de4ae58fc9f46482f96306301011dfc8b404491f.tar.bz2 linux-stable-de4ae58fc9f46482f96306301011dfc8b404491f.zip |
[WATCHDOG] adds device_driver .owner field
Initialise the .owner field of the device driver
with the module that owns it, for easier tracking
of device driver ownership. (probably also better
for sysfs...)
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Diffstat (limited to 'drivers/char/watchdog/mpcore_wdt.c')
-rw-r--r-- | drivers/char/watchdog/mpcore_wdt.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/char/watchdog/mpcore_wdt.c b/drivers/char/watchdog/mpcore_wdt.c index 47a5f6ab4879..da631c114fd1 100644 --- a/drivers/char/watchdog/mpcore_wdt.c +++ b/drivers/char/watchdog/mpcore_wdt.c @@ -396,6 +396,7 @@ static int __devexit mpcore_wdt_remove(struct device *dev) } static struct device_driver mpcore_wdt_driver = { + .owner = THIS_MODULE, .name = "mpcore_wdt", .bus = &platform_bus_type, .probe = mpcore_wdt_probe, |