From: Andy Shevchenko Date: Fri, 20 Mar 2026 22:11:43 +0000 (+0100) Subject: platform/surface: hotplug: Correct inclusion for GPIO APIs X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c62bf0b0c7608b0b47548e0f52d65183ad6ce2eb;p=thirdparty%2Fkernel%2Flinux.git platform/surface: hotplug: Correct inclusion for GPIO APIs The modern GPIO APIs are available for users via linux/gpio/consumer.h. The linux/gpio.h is legacy header that is subject to remove. Hence replace the latter by the former in the driver. Signed-off-by: Andy Shevchenko Link: https://patch.msgid.link/20260320221143.3237791-1-andriy.shevchenko@linux.intel.com Reviewed-by: Ilpo Järvinen Signed-off-by: Ilpo Järvinen --- diff --git a/drivers/platform/surface/surface_hotplug.c b/drivers/platform/surface/surface_hotplug.c index c0d83ed5a208..33a8a9d41900 100644 --- a/drivers/platform/surface/surface_hotplug.c +++ b/drivers/platform/surface/surface_hotplug.c @@ -14,7 +14,7 @@ */ #include -#include +#include #include #include #include