1 |
commit: 0aaa0274386354bea7c325f5f8d9c25643c667b7 |
2 |
Author: Mike Pagano <mpagano <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Mar 30 11:14:19 2020 +0000 |
4 |
Commit: Mike Pagano <mpagano <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Mar 30 11:14:19 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/linux-patches.git/commit/?id=0aaa0274 |
7 |
|
8 |
tmp513 requies REGMAP_I2C to build. |
9 |
|
10 |
Select it by default in Kconfig. See bug #710790. |
11 |
Thanks to Phil Stracchino |
12 |
|
13 |
Signed-off-by: Mike Pagano <mpagano <AT> gentoo.org> |
14 |
|
15 |
0000_README | 4 +++ |
16 |
...3-Fix-build-issue-by-selecting-CONFIG_REG.patch | 30 ++++++++++++++++++++++ |
17 |
2 files changed, 34 insertions(+) |
18 |
|
19 |
diff --git a/0000_README b/0000_README |
20 |
index 7c240ef..4bc51da 100644 |
21 |
--- a/0000_README |
22 |
+++ b/0000_README |
23 |
@@ -63,6 +63,10 @@ Patch: 2600_enable-key-swapping-for-apple-mac.patch |
24 |
From: https://github.com/free5lot/hid-apple-patched |
25 |
Desc: This hid-apple patch enables swapping of the FN and left Control keys and some additional on some apple keyboards. See bug #622902 |
26 |
|
27 |
+Patch: 2900_tmp513-Fix-build-issue-by-selecting-CONFIG_REG.patch |
28 |
+From: https://bugs.gentoo.org/710790 |
29 |
+Desc: tmp513 requies REGMAP_I2C to build. Select it by default in Kconfig. See bug #710790. Thanks to Phil Stracchino |
30 |
+ |
31 |
Patch: 4567_distro-Gentoo-Kconfig.patch |
32 |
From: Tom Wijsman <TomWij@g.o> |
33 |
Desc: Add Gentoo Linux support config settings and defaults. |
34 |
|
35 |
diff --git a/2900_tmp513-Fix-build-issue-by-selecting-CONFIG_REG.patch b/2900_tmp513-Fix-build-issue-by-selecting-CONFIG_REG.patch |
36 |
new file mode 100644 |
37 |
index 0000000..4335685 |
38 |
--- /dev/null |
39 |
+++ b/2900_tmp513-Fix-build-issue-by-selecting-CONFIG_REG.patch |
40 |
@@ -0,0 +1,30 @@ |
41 |
+From dc328d75a6f37f4ff11a81ae16b1ec88c3197640 Mon Sep 17 00:00:00 2001 |
42 |
+From: Mike Pagano <mpagano@g.o> |
43 |
+Date: Mon, 23 Mar 2020 08:20:06 -0400 |
44 |
+Subject: [PATCH 1/1] This driver requires REGMAP_I2C to build. Select it by |
45 |
+ default in Kconfig. Reported at gentoo bugzilla: |
46 |
+ https://bugs.gentoo.org/710790 |
47 |
+Cc: mpagano@g.o |
48 |
+ |
49 |
+Reported-by: Phil Stracchino <phils@××××××××××.net> |
50 |
+ |
51 |
+Signed-off-by: Mike Pagano <mpagano@g.o> |
52 |
+--- |
53 |
+ drivers/hwmon/Kconfig | 1 + |
54 |
+ 1 file changed, 1 insertion(+) |
55 |
+ |
56 |
+diff --git a/drivers/hwmon/Kconfig b/drivers/hwmon/Kconfig |
57 |
+index 47ac20aee06f..530b4f29ba85 100644 |
58 |
+--- a/drivers/hwmon/Kconfig |
59 |
++++ b/drivers/hwmon/Kconfig |
60 |
+@@ -1769,6 +1769,7 @@ config SENSORS_TMP421 |
61 |
+ config SENSORS_TMP513 |
62 |
+ tristate "Texas Instruments TMP513 and compatibles" |
63 |
+ depends on I2C |
64 |
++ select REGMAP_I2C |
65 |
+ help |
66 |
+ If you say yes here you get support for Texas Instruments TMP512, |
67 |
+ and TMP513 temperature and power supply sensor chips. |
68 |
+-- |
69 |
+2.24.1 |
70 |
+ |