From: Fabio Estevam Date: Tue, 16 Dec 2014 00:49:59 +0000 (-0200) Subject: watchdog: imx2_wdt: Fix the argument of watchdog_active() X-Git-Tag: omap-for-v3.19/fixes-rc1~35^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ba90f261cdcbf5535bb46381b1849815268daa3f;p=pandora-kernel.git watchdog: imx2_wdt: Fix the argument of watchdog_active() Fix the following build warning by passing the expected argument type to watchdog_active(): drivers/watchdog/imx2_wdt.c: In function 'imx2_wdt_suspend': drivers/watchdog/imx2_wdt.c:340:2: warning: passing argument 1 of 'watchdog_active' from incompatible pointer type [enabled by default] In file included from drivers/watchdog/imx2_wdt.c:38:0: include/linux/watchdog.h:104:20: note: expected 'struct watchdog_device *' but argument is of type 'struct watchdog_device **' Reported-by: Olof's autobuilder Signed-off-by: Fabio Estevam Reviewed-by: Guenter Roeck Signed-off-by: Wim Van Sebroeck --- Reading git-diff-tree failed