Subject: Re: linux-next: build failure after merge of the watchdog tree

From: Pramod Gurav <[email-masked]>
Date: Fri, 26 Sep 2014 11:26:04 +0530

On Friday 26 September 2014 11:10 AM, Stephen Rothwell wrote:
> Hi Wim,
> 
> After merging the watchdog tree, today's linux-next build (arm
> multi_v7_defconfig) failed like this:
> 
> 
> drivers/watchdog/meson_wdt.c: In function 'meson_wdt_probe':
> drivers/watchdog/meson_wdt.c:178:2: error: implicit declaration of function 'register_restart_handler' [-Werror=implicit-function-declaration]
>   err = register_restart_handler(&meson_wdt->restart_handler);
>   ^
> drivers/watchdog/meson_wdt.c: In function 'meson_wdt_remove':
> drivers/watchdog/meson_wdt.c:193:2: error: implicit declaration of function 'unregister_restart_handler' [-Werror=implicit-function-declaration]
>   unregister_restart_handler(&meson_wdt->restart_handler);
>   ^
>
This is because Guenter Roeck's restart_notifier mechanism [1] has not
yet made it to linux-next.

Oh yes, I checked it now its already pulled in master branch of linux-next.

> Caused by commit 575f4153957b ("ARM: meson: add watchdog driver").
> 
> I have reverted that commit for today.
> 
[1]: https://patchwork.kernel.org/patch/4746721/

Thanks
Pramod