diff options
Diffstat (limited to 'include/linux/genalloc.h')
| -rw-r--r-- | include/linux/genalloc.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/genalloc.h b/include/linux/genalloc.h index 015d17068615..5383bb1394a1 100644 --- a/include/linux/genalloc.h +++ b/include/linux/genalloc.h | |||
| @@ -125,10 +125,10 @@ bool addr_in_gen_pool(struct gen_pool *pool, unsigned long start, | |||
| 125 | size_t size); | 125 | size_t size); |
| 126 | 126 | ||
| 127 | #ifdef CONFIG_OF | 127 | #ifdef CONFIG_OF |
| 128 | extern struct gen_pool *of_get_named_gen_pool(struct device_node *np, | 128 | extern struct gen_pool *of_gen_pool_get(struct device_node *np, |
| 129 | const char *propname, int index); | 129 | const char *propname, int index); |
| 130 | #else | 130 | #else |
| 131 | static inline struct gen_pool *of_get_named_gen_pool(struct device_node *np, | 131 | static inline struct gen_pool *of_gen_pool_get(struct device_node *np, |
| 132 | const char *propname, int index) | 132 | const char *propname, int index) |
| 133 | { | 133 | { |
| 134 | return NULL; | 134 | return NULL; |
