Merge tag 'trace-3.12' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux...
[cascardo/linux.git] / include / linux / of_reserved_mem.h
1 #ifndef __OF_RESERVED_MEM_H
2 #define __OF_RESERVED_MEM_H
3
4 #ifdef CONFIG_OF_RESERVED_MEM
5 void of_reserved_mem_device_init(struct device *dev);
6 void of_reserved_mem_device_release(struct device *dev);
7 void early_init_dt_scan_reserved_mem(void);
8 #else
9 static inline void of_reserved_mem_device_init(struct device *dev) { }
10 static inline void of_reserved_mem_device_release(struct device *dev) { }
11 static inline void early_init_dt_scan_reserved_mem(void) { }
12 #endif
13
14 #endif /* __OF_RESERVED_MEM_H */