Commit 1efd374d authored by Denis Turischev's avatar Denis Turischev Committed by Wim Van Sebroeck

[WATCHDOG] SBC-FITPC2 watchdog driver registration fix

This patch fixes device registration process.
Signed-off-by: default avatarDenis Turischev <denis@compulab.co.il>
Signed-off-by: default avatarWim Van Sebroeck <wim@iguana.be>
parent 799dd75b
...@@ -227,7 +227,7 @@ static int __init fitpc2_wdt_init(void) ...@@ -227,7 +227,7 @@ static int __init fitpc2_wdt_init(void)
} }
err = misc_register(&fitpc2_wdt_miscdev); err = misc_register(&fitpc2_wdt_miscdev);
if (!err) { if (err) {
pr_err("cannot register miscdev on minor=%d (err=%d)\n", pr_err("cannot register miscdev on minor=%d (err=%d)\n",
WATCHDOG_MINOR, err); WATCHDOG_MINOR, err);
goto err_margin; goto err_margin;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment