aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/hack-5.15/259-regmap_dynamic.patch
diff options
context:
space:
mode:
authorAnsuel Smith <ansuelsmth@gmail.com>2022-03-21 15:21:45 +0100
committerDaniel Golle <daniel@makrotopia.org>2022-03-27 05:00:50 +0100
commit49cb5e501a8d6eb8ff5cad63f13282de7b84e7ef (patch)
treeecb1859c1f4e4e2d5426a0d131fa1a955a4c5eb2 /target/linux/generic/hack-5.15/259-regmap_dynamic.patch
parent39a7c8d809e7b8f7c4e554a221776b824277989f (diff)
downloadupstream-49cb5e501a8d6eb8ff5cad63f13282de7b84e7ef.tar.gz
upstream-49cb5e501a8d6eb8ff5cad63f13282de7b84e7ef.tar.bz2
upstream-49cb5e501a8d6eb8ff5cad63f13282de7b84e7ef.zip
generic: 5.15: refresh hack patch
Use 'make target/linux/refresh' to refresh hack patches. Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
Diffstat (limited to 'target/linux/generic/hack-5.15/259-regmap_dynamic.patch')
-rw-r--r--target/linux/generic/hack-5.15/259-regmap_dynamic.patch5
1 files changed, 2 insertions, 3 deletions
diff --git a/target/linux/generic/hack-5.15/259-regmap_dynamic.patch b/target/linux/generic/hack-5.15/259-regmap_dynamic.patch
index 1d9e862620..6be5875177 100644
--- a/target/linux/generic/hack-5.15/259-regmap_dynamic.patch
+++ b/target/linux/generic/hack-5.15/259-regmap_dynamic.patch
@@ -94,7 +94,6 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name>
+ select REGMAP
tristate
depends on SPI
-
--- a/drivers/base/regmap/Makefile
+++ b/drivers/base/regmap/Makefile
@@ -2,10 +2,14 @@
@@ -126,7 +125,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name>
#include <linux/mutex.h>
#include <linux/err.h>
#include <linux/property.h>
-@@ -3298,3 +3299,5 @@ static int __init regmap_initcall(void)
+@@ -3341,3 +3342,5 @@ static int __init regmap_initcall(void)
return 0;
}
postcore_initcall(regmap_initcall);
@@ -134,7 +133,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name>
+MODULE_LICENSE("GPL");
--- a/include/linux/regmap.h
+++ b/include/linux/regmap.h
-@@ -179,7 +179,7 @@ struct reg_sequence {
+@@ -180,7 +180,7 @@ struct reg_sequence {
__ret ?: __tmp; \
})