summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>2026-07-27 16:43:08 +0200
committerDanilo Krummrich <dakr@kernel.org>2026-07-27 22:01:47 +0200
commitb47dcd7b41e22fa3383c2aa07f2935c7b8725f88 (patch)
treec5f4bdf65278859483f4ef7fc548f3adfdf8b910
parentfde6b526a9ee0a20d70e992e67ef79f2dfe42362 (diff)
downloadlinux-next-b47dcd7b41e22fa3383c2aa07f2935c7b8725f88.tar.gz
linux-next-b47dcd7b41e22fa3383c2aa07f2935c7b8725f88.zip
platform/surface: gpe: add missing err.h include
We now use PTR_ERR() and IS_ERR() in this module so pull in the header that provides them. Fixes: 1e0bd438b876 ("platform/surface: gpe: use platform_device_register_full()") Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com> Acked-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> Link: https://patch.msgid.link/20260727144308.61842-1-bartosz.golaszewski@oss.qualcomm.com Signed-off-by: Danilo Krummrich <dakr@kernel.org>
-rw-r--r--drivers/platform/surface/surface_gpe.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/platform/surface/surface_gpe.c b/drivers/platform/surface/surface_gpe.c
index 4ca7ad76f3b9..29b264f2a444 100644
--- a/drivers/platform/surface/surface_gpe.c
+++ b/drivers/platform/surface/surface_gpe.c
@@ -11,6 +11,7 @@
#include <linux/acpi.h>
#include <linux/dmi.h>
+#include <linux/err.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/platform_device.h>