--- zzzz-none-000/linux-4.4.271/include/linux/of_pci.h 2021-06-03 06:22:09.000000000 +0000 +++ hawkeye-5590-750/linux-4.4.271/include/linux/of_pci.h 2023-04-19 10:22:30.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