From cded4cedac3df1c672fe63b58c32132716ec02e8 Mon Sep 17 00:00:00 2001 From: Jon Hunter Date: Mon, 21 Oct 2024 13:37:39 +0100 Subject: [PATCH] PCI: tegra264: Add missing module.h header The Tegra264 PCIe Endpoint driver is missing the module.h header and when compiling on some Linux kernel versions the build fails because the various module functions and macros prototypes are not defined. Bug 4911768 Change-Id: I4bd83bd1bb8049ad7828aa4ce452fe2ecbbc6be7 Signed-off-by: Jon Hunter Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3234210 Tested-by: mobile promotions Reviewed-by: mobile promotions --- drivers/pci/controller/private-soc/pcie-tegra264-ep.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/pci/controller/private-soc/pcie-tegra264-ep.c b/drivers/pci/controller/private-soc/pcie-tegra264-ep.c index 2c51fcae..d117a867 100644 --- a/drivers/pci/controller/private-soc/pcie-tegra264-ep.c +++ b/drivers/pci/controller/private-soc/pcie-tegra264-ep.c @@ -14,6 +14,7 @@ #include #include #include +#include #include #include #include