diff options
author | Fabio Estevam <fabio.estevam@freescale.com> | 2014-12-16 01:49:59 +0100 |
---|---|---|
committer | Wim Van Sebroeck <wim@iguana.be> | 2014-12-18 16:01:20 +0100 |
commit | ba90f261cdcbf5535bb46381b1849815268daa3f (patch) | |
tree | 6edca962bed86b03168481d80cb74780e31aa2a5 /drivers/platform/x86/dell-laptop.c | |
parent | watchdog: imx2_wdt: Add power management support. (diff) | |
download | linux-ba90f261cdcbf5535bb46381b1849815268daa3f.tar.xz linux-ba90f261cdcbf5535bb46381b1849815268daa3f.zip |
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 <build@lixom.net>
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Diffstat (limited to 'drivers/platform/x86/dell-laptop.c')
0 files changed, 0 insertions, 0 deletions