|
@@ -59,6 +59,13 @@ static inline void of_pci_check_probe_only(void) { }
|
|
int of_pci_get_host_bridge_resources(struct device_node *dev,
|
|
int of_pci_get_host_bridge_resources(struct device_node *dev,
|
|
unsigned char busno, unsigned char bus_max,
|
|
unsigned char busno, unsigned char bus_max,
|
|
struct list_head *resources, resource_size_t *io_base);
|
|
struct list_head *resources, resource_size_t *io_base);
|
|
|
|
+#else
|
|
|
|
+static inline int of_pci_get_host_bridge_resources(struct device_node *dev,
|
|
|
|
+ unsigned char busno, unsigned char bus_max,
|
|
|
|
+ struct list_head *resources, resource_size_t *io_base)
|
|
|
|
+{
|
|
|
|
+ return -EINVAL;
|
|
|
|
+}
|
|
#endif
|
|
#endif
|
|
|
|
|
|
#if defined(CONFIG_OF) && defined(CONFIG_PCI_MSI)
|
|
#if defined(CONFIG_OF) && defined(CONFIG_PCI_MSI)
|