Marek Szyprowski | 9d8eab7 | 2013-08-26 14:43:10 +0200 | [diff] [blame] | 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 */ |