[PATCH 1/3] pci: pcie_cdns_ti: Include linux/sizes.h header
Hrushikesh Salunke
h-salunke at ti.com
Wed Apr 16 14:08:28 CEST 2025
Driver uses macro SZ_4G to configure inbound base address register.
The macro is used without including the header file in which it is
defined. Fix this.
Fixes: 59ad5480098 ("pci: Add TI K3 Cadence PCIe Controller")
Signed-off-by: Hrushikesh Salunke <h-salunke at ti.com>
---
drivers/pci/pcie_cdns_ti.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/pci/pcie_cdns_ti.c b/drivers/pci/pcie_cdns_ti.c
index 41469a186a3..e5bcc6eb53e 100644
--- a/drivers/pci/pcie_cdns_ti.c
+++ b/drivers/pci/pcie_cdns_ti.c
@@ -19,6 +19,7 @@
#include <linux/io.h>
#include <linux/ioport.h>
#include <linux/log2.h>
+#include <linux/sizes.h>
#include <power-domain.h>
#include <regmap.h>
#include <syscon.h>
--
2.34.1
More information about the U-Boot
mailing list