aboutsummaryrefslogblamecommitdiffstats
path: root/include/linux/of_reserved_mem.h
blob: c8412825581401e087dc94875bbe3db3248c12cd (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14













                                                                         
#ifndef __OF_RESERVED_MEM_H
#define __OF_RESERVED_MEM_H

#ifdef CONFIG_OF_RESERVED_MEM
void of_reserved_mem_device_init(struct device *dev);
void of_reserved_mem_device_release(struct device *dev);
void early_init_dt_scan_reserved_mem(void);
#else
static inline void of_reserved_mem_device_init(struct device *dev) { }
static inline void of_reserved_mem_device_release(struct device *dev) { }
static inline void early_init_dt_scan_reserved_mem(void) { }
#endif

#endif /* __OF_RESERVED_MEM_H */