]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
PCI: amd-mdb: Use the right GPIO header
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 6 May 2026 08:47:24 +0000 (10:47 +0200)
committerManivannan Sadhasivam <mani@kernel.org>
Wed, 6 May 2026 17:22:26 +0000 (22:52 +0530)
The driver includes the legacy GPIO header <linux/gpio.h> but does not use
any symbols from it and actually wants <linux/gpio/consumer.h>, so fix this
up.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Manivannan Sadhasivam <mani@kernel.org>
Link: https://patch.msgid.link/20260506084858.867884-2-andriy.shevchenko@linux.intel.com
drivers/pci/controller/dwc/pcie-amd-mdb.c

index 7e50e11fbffda24400ad46ea76738f725c8f2053..88208e967201e8d18c841cfd1e524de29711cd54 100644 (file)
@@ -7,7 +7,7 @@
 
 #include <linux/clk.h>
 #include <linux/delay.h>
-#include <linux/gpio.h>
+#include <linux/gpio/consumer.h>
 #include <linux/interrupt.h>
 #include <linux/irqdomain.h>
 #include <linux/kernel.h>