diff options
Diffstat (limited to 'patches/collateral-evolutions/network/0062-acpi-gpio-remove/hci_intel.patch')
-rw-r--r-- | patches/collateral-evolutions/network/0062-acpi-gpio-remove/hci_intel.patch | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/patches/collateral-evolutions/network/0062-acpi-gpio-remove/hci_intel.patch b/patches/collateral-evolutions/network/0062-acpi-gpio-remove/hci_intel.patch index 971bffb2..0e1bea0d 100644 --- a/patches/collateral-evolutions/network/0062-acpi-gpio-remove/hci_intel.patch +++ b/patches/collateral-evolutions/network/0062-acpi-gpio-remove/hci_intel.patch @@ -20,9 +20,9 @@ /* Provide to idev a hu reference which is used to run LPM * transactions (lpm suspend/resume) from PM callbacks. -@@ -1352,14 +1356,17 @@ static int intel_probe(struct platform_d - return -ENODEV; - } +@@ -1329,14 +1333,17 @@ static int intel_probe(struct platform_d + + idev->pdev = pdev; +#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,17,0) idev->reset = devm_gpiod_get_optional(&pdev->dev, "reset", @@ -38,7 +38,7 @@ if (idev->irq < 0) { struct gpio_desc *host_wake; -@@ -1378,12 +1385,15 @@ static int intel_probe(struct platform_d +@@ -1355,12 +1362,15 @@ static int intel_probe(struct platform_d goto no_irq; } } @@ -54,7 +54,7 @@ platform_set_drvdata(pdev, idev); /* Place this instance on the device list */ -@@ -1391,8 +1401,10 @@ no_irq: +@@ -1368,8 +1378,10 @@ no_irq: list_add_tail(&idev->list, &intel_device_list); mutex_unlock(&intel_device_list_lock); |