summaryrefslogtreecommitdiff
path: root/drivers/watchdog/octeon-wdt-main.c
diff options
context:
space:
mode:
authorShuiqing Li <shuiqing.li@unisoc.com>2019-11-08 18:57:12 +0800
committerWim Van Sebroeck <wim@linux-watchdog.org>2019-11-18 19:53:45 +0100
commit39e68d9e7ab276880980ee5386301fb218202192 (patch)
treec3b286815b7d17d5b4f802a4ae208b53981cf0ca /drivers/watchdog/octeon-wdt-main.c
parentc04571251b3d842096f1597f5d4badb508be016d (diff)
watchdog: sprd: Fix the incorrect pointer getting from driver data
The device driver data saved the 'struct sprd_wdt' object, it is incorrect to get 'struct watchdog_device' object from the driver data, thus fix it. Fixes: 477603467009 ("watchdog: Add Spreadtrum watchdog driver") Reported-by: Dongwei Wang <dongwei.wang@unisoc.com> Signed-off-by: Shuiqing Li <shuiqing.li@unisoc.com> Signed-off-by: Baolin Wang <baolin.wang@linaro.org> Reviewed-by: Guenter Roeck <linux@roeck-us.net> Link: https://lore.kernel.org/r/76d4687189ec940baa90cb8d679a8d4c8f02ee80.1573210405.git.baolin.wang@linaro.org Signed-off-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
Diffstat (limited to 'drivers/watchdog/octeon-wdt-main.c')
0 files changed, 0 insertions, 0 deletions