PCI: arm64: port generic-pci host driver to arm64 interface

This patch implements the two trivial changes to get the generic-pci
host driver working with arm64.

Signed-off-by: Will Deacon <will.deacon@arm.com>
diff --git a/drivers/pci/host/Kconfig b/drivers/pci/host/Kconfig
index 21df477..0ceead1 100644
--- a/drivers/pci/host/Kconfig
+++ b/drivers/pci/host/Kconfig
@@ -41,7 +41,7 @@
 
 config PCI_HOST_GENERIC
 	bool "Generic PCI host controller"
-	depends on ARM && OF
+	depends on (ARM || ARM64) && OF
 	help
 	  Say Y here if you want to support a simple generic PCI host
 	  controller, such as the one emulated by kvmtool.
diff --git a/drivers/pci/host/pci-host-generic.c b/drivers/pci/host/pci-host-generic.c
index 44fe6aa..0fb464a 100644
--- a/drivers/pci/host/pci-host-generic.c
+++ b/drivers/pci/host/pci-host-generic.c
@@ -330,7 +330,9 @@
 		.nr_controllers	= 1,
 		.private_data	= (void **)&pci,
 		.setup		= gen_pci_setup,
+#ifdef CONFIG_ARM
 		.map_irq	= of_irq_parse_and_map_pci,
+#endif
 		.ops		= &gen_pci_ops,
 	};