diff options
author | Guenter Roeck <linux@roeck-us.net> | 2015-12-26 01:01:40 +0100 |
---|---|---|
committer | Wim Van Sebroeck <wim@iguana.be> | 2015-12-29 20:36:01 +0100 |
commit | 32ecc6392654a0db34b310e8924b5b2c3b8bf503 (patch) | |
tree | aeaeef6cab16c422f140ae7887c84a34231dbe51 /drivers/watchdog/diag288_wdt.c | |
parent | watchdog: qcom-wdt: Do not set 'dev' in struct watchdog_device (diff) | |
download | linux-32ecc6392654a0db34b310e8924b5b2c3b8bf503.tar.xz linux-32ecc6392654a0db34b310e8924b5b2c3b8bf503.zip |
watchdog: Create watchdog device in watchdog_dev.c
The watchdog character device is currently created in watchdog_dev.c,
and the watchdog device in watchdog_core.c. This results in
cross-dependencies, since device creation needs to know the watchdog
character device number as well as the watchdog class, both of which
reside in watchdog_dev.c.
Create the watchdog device in watchdog_dev.c to simplify the code.
Inspired by earlier patch set from Damien Riegel.
Cc: Damien Riegel <damien.riegel@savoirfairelinux.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Diffstat (limited to 'drivers/watchdog/diag288_wdt.c')
0 files changed, 0 insertions, 0 deletions