--- zzzz-none-000/linux-4.4.60/include/linux/of_pci.h 2017-04-08 07:53:53.000000000 +0000 +++ jet-2400-727/linux-4.4.60/include/linux/of_pci.h 2021-03-17 14:36:41.000000000 +0000 @@ -72,4 +72,11 @@ of_pci_find_msi_chip_by_node(struct device_node *of_node) { return NULL; } #endif +static inline 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) +{ + return -EINVAL; +} + #endif