diff options
author | Olliver Schinagl <oliver@schinagl.nl> | 2022-09-20 12:01:48 +0200 |
---|---|---|
committer | Christian Marangi <ansuelsmth@gmail.com> | 2022-10-01 02:47:57 +0200 |
commit | f1f97db627b2f82989a0f97a74bc7a3debd67ecd (patch) | |
tree | f41fd7c116246a5d3df3f5aa2715b9e61b087278 /target/linux/realtek/patches-5.10/308-otto-wdt-fix-missing-math-header.patch | |
parent | ba6096d04b4f7a40aec339e7bf3f7b5842ae3cac (diff) | |
download | upstream-f1f97db627b2f82989a0f97a74bc7a3debd67ecd.tar.gz upstream-f1f97db627b2f82989a0f97a74bc7a3debd67ecd.tar.bz2 upstream-f1f97db627b2f82989a0f97a74bc7a3debd67ecd.zip |
realtek: Convert incorrect v5.10 patches
OpenWRT's developer guide prefers having actual patches so they an be
sent upstream more easily.
However, in this case, Adding proper fields also allows for `git am` to
properly function. Some of these patches are quite old, and lack much
traceable history.
This commit tries to rectify that, by digging in the history to find
where and how it was first added.
It is by no means perfect and also shows some patches that should have
been long gone.
Signed-off-by: Olliver Schinagl <oliver@schinagl.nl>
Diffstat (limited to 'target/linux/realtek/patches-5.10/308-otto-wdt-fix-missing-math-header.patch')
-rw-r--r-- | target/linux/realtek/patches-5.10/308-otto-wdt-fix-missing-math-header.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/target/linux/realtek/patches-5.10/308-otto-wdt-fix-missing-math-header.patch b/target/linux/realtek/patches-5.10/308-otto-wdt-fix-missing-math-header.patch index 0fb61b9df5..78b145617f 100644 --- a/target/linux/realtek/patches-5.10/308-otto-wdt-fix-missing-math-header.patch +++ b/target/linux/realtek/patches-5.10/308-otto-wdt-fix-missing-math-header.patch @@ -1,3 +1,20 @@ +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 @@ |