aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/x86/patches-4.14/800-hwmon-w83627ehf-dont-claim-nct677x.patch
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2017-10-29 19:34:13 +0100
committerHauke Mehrtens <hauke@hauke-m.de>2017-12-16 22:16:07 +0100
commit481e1f23f5a178f44f6cf89e761ab51d1fc8d6ed (patch)
tree80fef94230617a7513db7dcdb3259c3b0a3333b4 /target/linux/x86/patches-4.14/800-hwmon-w83627ehf-dont-claim-nct677x.patch
parent5c944d95ecc3c0f0e1d0f33d18574c1b7d29f6dd (diff)
downloadupstream-481e1f23f5a178f44f6cf89e761ab51d1fc8d6ed.tar.gz
upstream-481e1f23f5a178f44f6cf89e761ab51d1fc8d6ed.tar.bz2
upstream-481e1f23f5a178f44f6cf89e761ab51d1fc8d6ed.zip
x86: Add support for kernel 4.14
This adds basic support for kernel 4.14, this was tested in qemu only. The subtarget configuration was refresh with kernel 4.14 and the options needed to make it compile on kernel 4.9 were added manually. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Diffstat (limited to 'target/linux/x86/patches-4.14/800-hwmon-w83627ehf-dont-claim-nct677x.patch')
-rw-r--r--target/linux/x86/patches-4.14/800-hwmon-w83627ehf-dont-claim-nct677x.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/target/linux/x86/patches-4.14/800-hwmon-w83627ehf-dont-claim-nct677x.patch b/target/linux/x86/patches-4.14/800-hwmon-w83627ehf-dont-claim-nct677x.patch
new file mode 100644
index 0000000000..ef2e1333e7
--- /dev/null
+++ b/target/linux/x86/patches-4.14/800-hwmon-w83627ehf-dont-claim-nct677x.patch
@@ -0,0 +1,30 @@
+--- a/drivers/hwmon/w83627ehf.c
++++ b/drivers/hwmon/w83627ehf.c
+@@ -2717,8 +2717,8 @@ static int __init w83627ehf_find(int sio
+ static const char sio_name_W83627UHG[] __initconst = "W83627UHG";
+ static const char sio_name_W83667HG[] __initconst = "W83667HG";
+ static const char sio_name_W83667HG_B[] __initconst = "W83667HG-B";
+- static const char sio_name_NCT6775[] __initconst = "NCT6775F";
+- static const char sio_name_NCT6776[] __initconst = "NCT6776F";
++/* static const char sio_name_NCT6775[] __initconst = "NCT6775F";
++ static const char sio_name_NCT6776[] __initconst = "NCT6776F"; */
+
+ u16 val;
+ const char *sio_name;
+@@ -2762,14 +2762,14 @@ static int __init w83627ehf_find(int sio
+ sio_data->kind = w83667hg_b;
+ sio_name = sio_name_W83667HG_B;
+ break;
+- case SIO_NCT6775_ID:
++/* case SIO_NCT6775_ID:
+ sio_data->kind = nct6775;
+ sio_name = sio_name_NCT6775;
+ break;
+ case SIO_NCT6776_ID:
+ sio_data->kind = nct6776;
+ sio_name = sio_name_NCT6776;
+- break;
++ break; */
+ default:
+ if (val != 0xffff)
+ pr_debug("unsupported chip ID: 0x%04x\n", val);