X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=target%2Flinux%2Fbrcm47xx%2Fpatches-4.19%2F831-old_gpio_wdt.patch;fp=target%2Flinux%2Fbrcm47xx%2Fpatches-4.19%2F831-old_gpio_wdt.patch;h=753124f37ec170a6ce3a2dea109cd06d564c56be;hb=4d3c8872f8244eb5aef08cac28771202054114a7;hp=ddac7917eae407529664b8a1bada42495e59f0dd;hpb=0893f28e19afbd9d4081f59df10631d6ef02e0d7;p=openwrt%2Fstaging%2Fchunkeey.git diff --git a/target/linux/brcm47xx/patches-4.19/831-old_gpio_wdt.patch b/target/linux/brcm47xx/patches-4.19/831-old_gpio_wdt.patch index ddac7917ea..753124f37e 100644 --- a/target/linux/brcm47xx/patches-4.19/831-old_gpio_wdt.patch +++ b/target/linux/brcm47xx/patches-4.19/831-old_gpio_wdt.patch @@ -111,7 +111,7 @@ Signed-off-by: Mathias Adam + int first_interval; +} gpio_wdt_device; + -+static void gpio_wdt_trigger(unsigned long unused) ++static void gpio_wdt_trigger(struct timer_list *unused) +{ + spin_lock(&gpio_wdt_device.lock); + if (gpio_wdt_device.running && ticks > 0) @@ -268,7 +268,7 @@ Signed-off-by: Mathias Adam + init_completion(&gpio_wdt_device.stop); + gpio_wdt_device.queue = 0; + clear_bit(0, &gpio_wdt_device.inuse); -+ setup_timer(&gpio_wdt_device.timer, gpio_wdt_trigger, 0L); ++ timer_setup(&gpio_wdt_device.timer, gpio_wdt_trigger, 0L); + gpio_wdt_device.default_ticks = ticks; + + gpio_wdt_start();