of_reserved_mem.h 495 B

1234567891011121314
  1. #ifndef __OF_RESERVED_MEM_H
  2. #define __OF_RESERVED_MEM_H
  3. #ifdef CONFIG_OF_RESERVED_MEM
  4. void of_reserved_mem_device_init(struct device *dev);
  5. void of_reserved_mem_device_release(struct device *dev);
  6. void early_init_dt_scan_reserved_mem(void);
  7. #else
  8. static inline void of_reserved_mem_device_init(struct device *dev) { }
  9. static inline void of_reserved_mem_device_release(struct device *dev) { }
  10. static inline void early_init_dt_scan_reserved_mem(void) { }
  11. #endif
  12. #endif /* __OF_RESERVED_MEM_H */