[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CA+V-a8vw2d8H=Qx99M4oXqUatt5wmePVW82ARdMcWLEVLXbZJw@mail.gmail.com>
Date: Tue, 2 Dec 2014 09:31:04 +0000
From: Prabhakar Lad <prabhakar.csengg@...il.com>
To: Michal Simek <michal.simek@...inx.com>
Cc: LKML <linux-kernel@...r.kernel.org>, monstr@...str.eu,
Andrew Morton <akpm@...ux-foundation.org>,
Laura Abbott <lauraa@...eaurora.org>,
Olof Johansson <olof@...om.net>,
Catalin Marinas <catalin.marinas@....com>,
Will Deacon <will.deacon@....com>,
Vladimir Zapolskiy <vladimir_zapolskiy@...tor.com>
Subject: Re: [PATCH v1] lib/genalloc.c: Export devm_gen_pool_create for modules
Hi Michal,
Thanks for the patch.
On Mon, Dec 1, 2014 at 1:00 PM, Michal Simek <michal.simek@...inx.com> wrote:
> Modules can use this function for creating pool.
>
> Signed-off-by: Michal Simek <michal.simek@...inx.com>
> ---
>
> I am pushing Zynq OCMC driver which is using this function.
>
> ---
> lib/genalloc.c | 1 +
> 1 file changed, 1 insertion(+)
>
don’t you need to add an entry in include/linux/genalloc.h ?
Thanks,
--Prabhakar Lad
> 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
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists