|
@@ -10,7 +10,6 @@ struct of_phandle_args;
|
|
|
struct device_node;
|
|
|
|
|
|
#if IS_ENABLED(CONFIG_OF) && IS_ENABLED(CONFIG_PCI)
|
|
|
-int of_irq_parse_pci(const struct pci_dev *pdev, struct of_phandle_args *out_irq);
|
|
|
struct device_node *of_pci_find_child_device(struct device_node *parent,
|
|
|
unsigned int devfn);
|
|
|
int of_pci_get_devfn(struct device_node *np);
|
|
@@ -23,11 +22,6 @@ int of_pci_map_rid(struct device_node *np, u32 rid,
|
|
|
const char *map_name, const char *map_mask_name,
|
|
|
struct device_node **target, u32 *id_out);
|
|
|
#else
|
|
|
-static inline int of_irq_parse_pci(const struct pci_dev *pdev, struct of_phandle_args *out_irq)
|
|
|
-{
|
|
|
- return 0;
|
|
|
-}
|
|
|
-
|
|
|
static inline struct device_node *of_pci_find_child_device(struct device_node *parent,
|
|
|
unsigned int devfn)
|
|
|
{
|