msm: ipa4: Fix to compilation errors if CONFIG_PCI disabled

Add changes to overcome compilation errors when CONFIG_PCI
is disabled.

Change-Id: I1b1fa4a2deb2689401c95cffad7ebc699797f95b
Signed-off-by: Praveen Kurapati <pkurapat@codeaurora.org>
diff --git a/drivers/platform/msm/ipa/ipa_api.c b/drivers/platform/msm/ipa/ipa_api.c
index d9a860b..c910f20 100644
--- a/drivers/platform/msm/ipa/ipa_api.c
+++ b/drivers/platform/msm/ipa/ipa_api.c
@@ -3108,6 +3108,7 @@
 /*                PCIe Version                           */
 /*********************************************************/
 
+#ifdef CONFIG_PCI
 static const struct of_device_id ipa_pci_drv_match[] = {
 	{ .compatible = "qcom,ipa", },
 	{}
@@ -3154,6 +3155,7 @@
 	.shutdown = ipa_pci_shutdown,
 	.err_handler = &ipa_pci_err_handler
 };
+#endif
 
 static int ipa_generic_plat_drv_probe(struct platform_device *pdev_p)
 {
@@ -3755,6 +3757,7 @@
 /*                PCIe Version                           */
 /*********************************************************/
 
+#ifdef CONFIG_PCI
 static int ipa_pci_probe(
 	struct pci_dev             *pci_dev,
 	const struct pci_device_id *ent)
@@ -3822,15 +3825,17 @@
 static void ipa_pci_io_resume(struct pci_dev *pci_dev)
 {
 }
+#endif
 
 static int __init ipa_module_init(void)
 {
 	pr_debug("IPA module init\n");
-
+#ifdef CONFIG_PCI
 	if (running_emulation) {
 		/* Register as a PCI device driver */
 		return pci_register_driver(&ipa_pci_driver);
 	}
+#endif
 	/* Register as a platform device driver */
 	return platform_driver_register(&ipa_plat_drv);
 }
diff --git a/drivers/platform/msm/ipa/ipa_v3/ipa.c b/drivers/platform/msm/ipa/ipa_v3/ipa.c
index 91a582a..69aaefe 100644
--- a/drivers/platform/msm/ipa/ipa_v3/ipa.c
+++ b/drivers/platform/msm/ipa/ipa_v3/ipa.c
@@ -8494,6 +8494,7 @@
  *            PCIe Version
  *************************************************************/
 
+#ifdef CONFIG_PCI
 int ipa3_pci_drv_probe(
 	struct pci_dev            *pci_dev,
 	struct ipa_api_controller *api_ctrl,
@@ -8653,6 +8654,7 @@
 
 	return result;
 }
+#endif
 
 /*
  * The following returns transport register memory location and