From: Michal Simek Date: Tue, 2 Dec 2014 23:59:45 +0000 (-0800) Subject: lib/genalloc.c: export devm_gen_pool_create() for modules X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=b724aa213df7aee08d57237ee0bbafffef09aea5;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git lib/genalloc.c: export devm_gen_pool_create() for modules Modules can use this function for creating pool. Signed-off-by: Michal Simek Acked-by: Lad, Prabhakar Cc: Laura Abbott Cc: Olof Johansson Cc: Catalin Marinas Cc: Will Deacon Cc: Vladimir Zapolskiy Cc: Philipp Zabel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/lib/genalloc.c b/lib/genalloc.c index cce4dd68c40d..2e65d206b01c 100644 --- a/lib/genalloc.c +++ b/lib/genalloc.c @@ -598,6 +598,7 @@ struct gen_pool *devm_gen_pool_create(struct device *dev, int min_alloc_order, return pool; } +EXPORT_SYMBOL(devm_gen_pool_create); /** * dev_get_gen_pool - Obtain the gen_pool (if any) for a device