Messages in this thread Patch in this message | | | From | Jagdish Tirumala <> | Subject | [PATCH] WATCHDOG: uniphier_wdt.c: Fixed error do not initialise statics to 0 | Date | Wed, 12 Sep 2018 08:33:54 -0700 |
| |
Fixed error do not initialise statics to 0 in file drivers/watchdog/uniphier_wdt.c
Signed-off-by: Jagdish Tirumala <t.jag587@gmail.com> --- drivers/watchdog/uniphier_wdt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/watchdog/uniphier_wdt.c b/drivers/watchdog/uniphier_wdt.c index e20a7a459d69..2c62ad7250fb 100644 --- a/drivers/watchdog/uniphier_wdt.c +++ b/drivers/watchdog/uniphier_wdt.c @@ -41,7 +41,7 @@ #define WDT_PERIOD_MIN 1 #define WDT_PERIOD_MAX 128 -static unsigned int timeout = 0; +static unsigned int timeout; static bool nowayout = WATCHDOG_NOWAYOUT; struct uniphier_wdt_dev { -- 2.17.1
| |