diff options
Diffstat (limited to 'include/linux/genalloc.h')
-rw-r--r-- | include/linux/genalloc.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/genalloc.h b/include/linux/genalloc.h index 3cd0934d62ba..1ccaab44abcc 100644 --- a/include/linux/genalloc.h +++ b/include/linux/genalloc.h | |||
@@ -121,6 +121,9 @@ extern struct gen_pool *devm_gen_pool_create(struct device *dev, | |||
121 | int min_alloc_order, int nid); | 121 | int min_alloc_order, int nid); |
122 | extern struct gen_pool *dev_get_gen_pool(struct device *dev); | 122 | extern struct gen_pool *dev_get_gen_pool(struct device *dev); |
123 | 123 | ||
124 | bool addr_in_gen_pool(struct gen_pool *pool, unsigned long start, | ||
125 | size_t size); | ||
126 | |||
124 | #ifdef CONFIG_OF | 127 | #ifdef CONFIG_OF |
125 | extern struct gen_pool *of_get_named_gen_pool(struct device_node *np, | 128 | extern struct gen_pool *of_get_named_gen_pool(struct device_node *np, |
126 | const char *propname, int index); | 129 | const char *propname, int index); |