Add stub function for devm_pci_remap_cfg_resource when CONFIG_PCI is not enabled. Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com> Signed-off-by: Sekhar Nori <nsekhar@ti.com>
@@ -1705,6 +1705,12 @@ static inline int pci_irqd_intx_xlate(struct irq_domain *d,
unsigned long *out_hwirq,
unsigned int *out_type)
{ return -EINVAL; }
+
+static inline void __iomem *devm_pci_remap_cfg_resource(struct device *dev,
+ struct resource *res)
+{
+ return NULL;
+}
#endif /* CONFIG_PCI */
/* Include architecture-dependent settings and functions */