X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/a4ba8220f531577a0bdc6d9466a16af74f8b98af..505d82b643b326b3a63484cdce6fc07e7aa28277:/target/linux/lantiq/patches/250-watchdog.patch diff --git a/target/linux/lantiq/patches/250-watchdog.patch b/target/linux/lantiq/patches/250-watchdog.patch index 6f727c427..96875db2d 100644 --- a/target/linux/lantiq/patches/250-watchdog.patch +++ b/target/linux/lantiq/patches/250-watchdog.patch @@ -49,8 +49,8 @@ +#define LQ_WDT_PW1 0x00BE0000 +#define LQ_WDT_PW2 0x00DC0000 + -+#define LQ_BIU_WDT_CR 0x3F0 -+#define LQ_BIU_WDT_SR 0x3F8 ++#define LQ_BIU_WDT_CR 0x0 ++#define LQ_BIU_WDT_SR 0x8 + +#ifndef CONFIG_WATCHDOG_NOWAYOUT +static int wdt_ok_to_close; @@ -117,7 +117,7 @@ +}; + +static int -+lq_wdt_ioctl(struct inode *inode, struct file *file, ++lq_wdt_ioctl(struct file *file, + unsigned int cmd, unsigned long arg) +{ + int ret = -ENOTTY;