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

From: Prabhakar Lad
Date: Tue Dec 02 2014 - 04:43:31 EST


Hi Michal,

On Tue, Dec 2, 2014 at 9:36 AM, Michal Simek <michal.simek@xxxxxxxxxx> wrote:
> 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@xxxxxxxxxx> wrote:
>>> 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(+)
>>>
>> 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?
>
Oops missed it, since it was a exported function I was expecting a entry
in a header file, but yes the entry exists already so,

Acked-by: Lad, Prabhakar <prabhakar.csengg@xxxxxxxxx>

Thanks,
--Prabhakar Lad
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/