platform/surface: gpe: add missing err.h include
Subsystems (3)
PATCH 1/1 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.
---
This must go through the driver core tree as a follow up to the commit it fixes.
drivers/platform/surface/surface_gpe.c | 1 + 1 file changed, 1 insertion(+)
drivers/platform/surface/surface_gpe.c +1 -0
@@ -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>
Signature · 1 line
2.47.3
Quoted 17 lines · Bartosz Golaszewski
We now use
PTR_ERR()andIS_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 <[email protected]>---
This must go through the driver core tree as a follow up to the commit it fixes.drivers/platform/surface/surface_gpe.c | 1 + 1 file changed, 1 insertion(+)drivers/platform/surface/surface_gpe.c +0
-0
drivers/platform/surface/surface_gpe.c line 17
Quoted 7 lines
drivers/platform/surface/surface_gpe.c +1
-0@@ -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>
Signature · 1 line
i.
Danilo Krummrich
AppliedQuoted 1 line · Bartosz Golaszewski
[PATCH] platform/surface: gpe: add missing
err.hinclude
Applied, thanks!
Branch: driver-core-testing
Tree: git://git.kernel.org/pub/scm/linux/kernel/git/driver-core/driver-core.git
[1/1] platform/surface: gpe: add missing err.h include
commit: b47dcd7b41e2
The patch will appear in the next linux-next integration (typically within 24 hours on weekdays).
The patch is in the driver-core-testing branch and will be promoted to driver-core-next after validation.