Re: [PATCH V2 6/6] mpcore_wdt: Move declarations in a separate header

Sergei Shtylyov
2011-07-06T12:12:18Z

Hello.

On 05-07-2011 23:00, Vitaly Kuzmichev wrote:

> Signed-off-by: Vitaly Kuzmichev<vkuzmichev@mvista.com>
> ---
> drivers/watchdog/mpcore_wdt.c | 26 +-------------------------
> drivers/watchdog/mpcore_wdt.h | 40 ++++++++++++++++++++++++++++++++++++++++
> 2 files changed, 41 insertions(+), 25 deletions(-)
> create mode 100644 drivers/watchdog/mpcore_wdt.h

Are the declarations only used by mpcore_wdt.c? If so, why we need a header?

WBR, Sergei