--- zzzz-none-000/linux-4.4.60/include/linux/of_reserved_mem.h 2017-04-08 07:53:53.000000000 +0000 +++ dragonfly-4020-701/linux-4.4.60/include/linux/of_reserved_mem.h 2018-11-08 13:36:17.000000000 +0000 @@ -34,6 +34,7 @@ void fdt_init_reserved_mem(void); void fdt_reserved_mem_save_node(unsigned long node, const char *uname, phys_addr_t base, phys_addr_t size); +struct reserved_mem *fdt_get_reserved_mem_resource(const char* name); #else static inline int of_reserved_mem_device_init(struct device *dev) { @@ -44,6 +45,7 @@ static inline void fdt_init_reserved_mem(void) { } static inline void fdt_reserved_mem_save_node(unsigned long node, const char *uname, phys_addr_t base, phys_addr_t size) { } +static inline struct reserved_mem *fdt_get_reserved_mem_resource(const char* name) { return NULL; } #endif #endif /* __OF_RESERVED_MEM_H */