Merge git://git.kernel.org/pub/scm/linux/kernel/git/wim/linux-2.6-watchdog
* git://git.kernel.org/pub/scm/linux/kernel/git/wim/linux-2.6-watchdog: [WATCHDOG] SBC-FITPC2 watchdog driver registration fix
This commit is contained in:
commit
7bbf8ef690
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
|
|
Reference in a new issue