summaryrefslogtreecommitdiffstats
path: root/kernel-arm64.patch
diff options
context:
space:
mode:
authorJosh Boyer <jwboyer@fedoraproject.org>2014-10-22 09:59:21 -0400
committerJosh Boyer <jwboyer@fedoraproject.org>2014-10-22 09:59:21 -0400
commit300a55307cf5a013e288c53a60bdfe09ead89f05 (patch)
treea9efdbc9973e9d0e95d99c14e84fc5f7c87c03f4 /kernel-arm64.patch
parent3aeb248035163a5196f8ee93b392d449ea1c1ea7 (diff)
downloadkernel-300a55307cf5a013e288c53a60bdfe09ead89f05.tar.gz
kernel-300a55307cf5a013e288c53a60bdfe09ead89f05.tar.xz
kernel-300a55307cf5a013e288c53a60bdfe09ead89f05.zip
Linux v3.18-rc1-221-gc3351dfabf5c
- Add patch to fix wifi on X550VB machines (rhbz 1089731)
Diffstat (limited to 'kernel-arm64.patch')
-rw-r--r--kernel-arm64.patch20
1 files changed, 10 insertions, 10 deletions
diff --git a/kernel-arm64.patch b/kernel-arm64.patch
index 0a0941da3..6e2491207 100644
--- a/kernel-arm64.patch
+++ b/kernel-arm64.patch
@@ -6019,19 +6019,19 @@ index 57ff20f..681efd5 100644
--- a/drivers/leds/leds-gpio.c
+++ b/drivers/leds/leds-gpio.c
@@ -13,22 +13,20 @@
- #include <linux/kernel.h>
- #include <linux/platform_device.h>
+ #include <linux/err.h>
#include <linux/gpio.h>
+#include <linux/gpio/consumer.h>
+ #include <linux/kernel.h>
#include <linux/leds.h>
+ #include <linux/module.h>
-#include <linux/of.h>
--#include <linux/of_platform.h>
-#include <linux/of_gpio.h>
+-#include <linux/of_platform.h>
+ #include <linux/platform_device.h>
++#include <linux/property.h>
#include <linux/slab.h>
#include <linux/workqueue.h>
- #include <linux/module.h>
- #include <linux/err.h>
-+#include <linux/property.h>
struct gpio_led_data {
struct led_classdev cdev;
@@ -6293,7 +6293,7 @@ index 57ff20f..681efd5 100644
}
static const struct of_device_id of_gpio_leds_match[] = {
-@@ -228,13 +230,13 @@ static const struct of_device_id of_gpio_leds_match[] = {
+@@ -228,12 +228,13 @@ static const struct of_device_id of_gpio_leds_match[] = {
};
MODULE_DEVICE_TABLE(of, of_gpio_leds_match);
@@ -6303,10 +6303,10 @@ index 57ff20f..681efd5 100644
- return ERR_PTR(-ENODEV);
-}
-#endif /* CONFIG_OF_GPIO */
-
++
+static const struct acpi_device_id acpi_gpio_leds_match[] = {
-+ { "PRP0001" }, /* Device Tree shoehorned into ACPI */
-+ {},
++ { "PRP0001" }, /* Device Tree shoehorned into ACPI */
++ {},
+};
+
+MODULE_DEVICE_TABLE(acpi, acpi_gpio_leds_match);