From eaf9a9d8068926e33bfcba23e5fca3a5bdbd3c62 Mon Sep 17 00:00:00 2001 From: Jake Day Date: Wed, 18 Apr 2018 14:29:33 -0400 Subject: [PATCH] update surface acpi patch for 4.16 --- patches/4.16/surfaceacpi.patch | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/patches/4.16/surfaceacpi.patch b/patches/4.16/surfaceacpi.patch index 1f42d7f99..6da586d51 100644 --- a/patches/4.16/surfaceacpi.patch +++ b/patches/4.16/surfaceacpi.patch @@ -1,8 +1,8 @@ diff --git a/drivers/platform/x86/Kconfig b/drivers/platform/x86/Kconfig -index 2c745e8..3b746c5 100644 +index 51ebc5a..244fa92 100644 --- a/drivers/platform/x86/Kconfig +++ b/drivers/platform/x86/Kconfig -@@ -1113,6 +1113,15 @@ config SURFACE_3_BUTTON +@@ -1155,6 +1155,15 @@ config SURFACE_3_BUTTON ---help--- This driver handles the power/home/volume buttons on the Microsoft Surface 3 tablet. @@ -19,10 +19,10 @@ index 2c745e8..3b746c5 100644 tristate "Intel P-Unit IPC Driver" ---help--- diff --git a/drivers/platform/x86/Makefile b/drivers/platform/x86/Makefile -index c32b34a..6b04d7f 100644 +index 2ba6cb7..bcb0dd9 100644 --- a/drivers/platform/x86/Makefile +++ b/drivers/platform/x86/Makefile -@@ -78,6 +78,7 @@ obj-$(CONFIG_INTEL_PMC_IPC) += intel_pmc_ipc.o +@@ -81,6 +81,7 @@ obj-$(CONFIG_INTEL_PMC_IPC) += intel_pmc_ipc.o obj-$(CONFIG_SILEAD_DMI) += silead_dmi.o obj-$(CONFIG_SURFACE_PRO3_BUTTON) += surfacepro3_button.o obj-$(CONFIG_SURFACE_3_BUTTON) += surface3_button.o @@ -32,10 +32,10 @@ index c32b34a..6b04d7f 100644 obj-$(CONFIG_INTEL_TELEMETRY) += intel_telemetry_core.o \ diff --git a/drivers/platform/x86/surface_acpi.c b/drivers/platform/x86/surface_acpi.c new file mode 100644 -index 0000000..60e4db3 +index 0000000..bee15e7 --- /dev/null +++ b/drivers/platform/x86/surface_acpi.c -@@ -0,0 +1,471 @@ +@@ -0,0 +1,472 @@ +/* + * surface_acpi.c - Microsoft Surface ACPI Notify + * @@ -65,6 +65,7 @@ index 0000000..60e4db3 +#include +#include +#include ++#include +#include +#include +