[PATCH v1] lib/genalloc.c: Export devm_gen_pool_create for modules

From: Michal Simek
Date: Mon Dec 01 2014 - 08:01:36 EST


Modules can use this function for creating pool.

Signed-off-by: Michal Simek <michal.simek@xxxxxxxxxx>
---

I am pushing Zynq OCMC driver which is using this function.

---
lib/genalloc.c | 1 +
1 file changed, 1 insertion(+)

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
--
1.8.2.3

Attachment: pgp2O1tsVxspi.pgp
Description: PGP signature