summaryrefslogtreecommitdiff
path: root/libre/linux-libre/compal-laptop-hwmon-fix.patch
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-08-14 15:19:25 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-08-14 15:19:25 -0300
commit314fa07e21215a4297a7b533c7c84af3cda6b865 (patch)
treee740719070af9d8c67d62f3be9acf5f2fd4c303f /libre/linux-libre/compal-laptop-hwmon-fix.patch
parentbdff0da800520d7818dfff52471ce8a92b9acf38 (diff)
downloadabslibre-314fa07e21215a4297a7b533c7c84af3cda6b865.tar.gz
abslibre-314fa07e21215a4297a7b533c7c84af3cda6b865.tar.bz2
abslibre-314fa07e21215a4297a7b533c7c84af3cda6b865.zip
linux-libre-3.16-2: updating version
* bump to 3.16 * enable RO/NX protection for kernel modules (FS#41347 -> https://bugs.archlinux.org/task/41347) * add industrial I/O subsystem (FS#41080 -> https://bugs.archlinux.org/task/41080) * fix compal hwmon (FS#41458 -> https://bugs.archlinux.org/task/41458)
Diffstat (limited to 'libre/linux-libre/compal-laptop-hwmon-fix.patch')
-rw-r--r--libre/linux-libre/compal-laptop-hwmon-fix.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/libre/linux-libre/compal-laptop-hwmon-fix.patch b/libre/linux-libre/compal-laptop-hwmon-fix.patch
new file mode 100644
index 000000000..f8723576c
--- /dev/null
+++ b/libre/linux-libre/compal-laptop-hwmon-fix.patch
@@ -0,0 +1,14 @@
+diff --git a/drivers/platform/x86/compal-laptop.c b/drivers/platform/x86/compal-laptop.c
+index 7297df2..26bfd7b 100644
+--- a/drivers/platform/x86/compal-laptop.c
++++ b/drivers/platform/x86/compal-laptop.c
+@@ -1028,7 +1028,7 @@ static int compal_probe(struct platform_device *pdev)
+ return err;
+
+ hwmon_dev = hwmon_device_register_with_groups(&pdev->dev,
+- DRIVER_NAME, data,
++ "compal", data,
+ compal_hwmon_groups);
+ if (IS_ERR(hwmon_dev)) {
+ err = PTR_ERR(hwmon_dev);
+