Some checks failed
Build Kernel / Build all affected Kernels (push) Has been cancelled
Build all core packages / Build all core packages for selected target (push) Has been cancelled
Build and Push prebuilt tools container / Build and Push all prebuilt containers (push) Has been cancelled
Build Toolchains / Build Toolchains for each target (push) Has been cancelled
Build host tools / Build host tools for linux and macos based systems (push) Has been cancelled
Coverity scan build / Coverity x86/64 build (push) Has been cancelled
29 lines
1.0 KiB
Diff
29 lines
1.0 KiB
Diff
From b8fc5eecdc5d33cf261986436597b5482ab856da Mon Sep 17 00:00:00 2001
|
|
From: Sander Vanheule <sander@svanheule.net>
|
|
Date: Sun, 14 Nov 2021 19:45:32 +0100
|
|
Subject: [PATCH] realtek: Backport Realtek Otto WDT driver
|
|
|
|
Add patch submitted upstream to linux-watchdog and replace the MIPS
|
|
architecture symbols. Requires one extra patch for the DIV_ROUND_*
|
|
macros, which have moved to a different header since 5.10.
|
|
|
|
Submitted-by: Sander Vanheule <sander@svanheule.net>
|
|
Tested-by: Stijn Segers <foss@volatilesystems.org>
|
|
Tested-by: Paul Fertser <fercerpav@gmail.com>
|
|
Tested-by: Stijn Tintel <stijn@linux-ipv6.be>
|
|
---
|
|
drivers/watchdog/realtek_otto_wdt.c | 2 +-
|
|
1 files changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
--- a/drivers/watchdog/realtek_otto_wdt.c
|
|
+++ b/drivers/watchdog/realtek_otto_wdt.c
|
|
@@ -21,7 +21,7 @@
|
|
#include <linux/delay.h>
|
|
#include <linux/interrupt.h>
|
|
#include <linux/io.h>
|
|
-#include <linux/math.h>
|
|
+#include <linux/kernel.h>
|
|
#include <linux/minmax.h>
|
|
#include <linux/module.h>
|
|
#include <linux/mod_devicetable.h>
|