brcm47xx: fix 831-old_gpio_wdt.patch for linux 4.19
authorZachary Cook <zachcook1991@gmail.com>
Thu, 11 Jul 2019 20:09:15 +0000 (16:09 -0400)
committerPetr Štetiar <ynezz@true.cz>
Wed, 17 Jul 2019 20:59:29 +0000 (22:59 +0200)
commit4d3c8872f8244eb5aef08cac28771202054114a7
tree0a73c6f075481dbb75ce54c05fafae94f36927a3
parent0893f28e19afbd9d4081f59df10631d6ef02e0d7
brcm47xx: fix 831-old_gpio_wdt.patch for linux 4.19

Fix the following compilation error when using linux 4.19 on brcm47xx:
drivers/watchdog/old_gpio_wdt.c:236:2: error: implicit declaration of function 'setup_timer'

setup_timer was removed and replaced by timer_setup in linux >=4.15:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=513ae785

Update the patch to use the timer_setup interface

Signed-off-by: Zachary Cook <zachcook1991@gmail.com>
target/linux/brcm47xx/patches-4.19/831-old_gpio_wdt.patch