summaryrefslogtreecommitdiff
path: root/drivers/pci/controller/dwc/pcie-stm32.h
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2025-11-14 19:52:01 +0100
committerBjorn Helgaas <bhelgaas@google.com>2025-11-17 14:38:52 -0600
commitcfa3c76e059a2ed134f8da4ab8d2f46e3582b94e (patch)
tree3b7dbeebc34ec429aa1857c396d3eba51e71ecf1 /drivers/pci/controller/dwc/pcie-stm32.h
parentff529a9307a03ec03ed9751da053b57149300053 (diff)
PCI: stm32: Don't use 'proxy' headers
Update header inclusions to follow IWYU (Include What You Use) principle. In particular, replace of_gpio.h, which is subject to removal by the GPIOLIB subsystem, with the respective headers that are being used by the driver. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Manivannan Sadhasivam <mani@kernel.org> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Link: https://patch.msgid.link/20251114185534.3287497-1-andriy.shevchenko@linux.intel.com
Diffstat (limited to 'drivers/pci/controller/dwc/pcie-stm32.h')
-rw-r--r--drivers/pci/controller/dwc/pcie-stm32.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/pci/controller/dwc/pcie-stm32.h b/drivers/pci/controller/dwc/pcie-stm32.h
index 09d39f04e469..419cf1ff669d 100644
--- a/drivers/pci/controller/dwc/pcie-stm32.h
+++ b/drivers/pci/controller/dwc/pcie-stm32.h
@@ -6,6 +6,9 @@
* Author: Christian Bruel <christian.bruel@foss.st.com>
*/
+#include <linux/bits.h>
+#include <linux/device.h>
+
#define to_stm32_pcie(x) dev_get_drvdata((x)->dev)
#define STM32MP25_PCIECR_TYPE_MASK GENMASK(11, 8)