[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <522b42cef4da41d48e81d99bc8e447a8@BL2FFO11FD047.protection.gbl>
Date: Tue, 2 Dec 2014 10:36:28 +0100
From: Michal Simek <michal.simek@...inx.com>
To: Prabhakar Lad <prabhakar.csengg@...il.com>,
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
On 12/02/2014 10:31 AM, Prabhakar Lad wrote:
> 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 ?
Not sure what exactly you mean. declaration is there.
include/linux/genalloc.h:120:extern struct gen_pool *devm_gen_pool_create(struct device *dev,
And all EXPORT_SYMBOL() are out of headers directly below function
which you want to export.
Can you please clarify what you did mean by that?
Thanks,
Michal
--
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