[PATCH RFC v2 02/15] [media] Add a V4L2 OF parser
Sylwester Nawrocki
sylvester.nawrocki at gmail.com
Thu Jan 3 09:11:20 EST 2013
Hi Guennadi,
On 01/02/2013 12:58 PM, Guennadi Liakhovetski wrote:
>> --- /dev/null
>> +++ b/drivers/media/v4l2-core/v4l2-of.c
>> @@ -0,0 +1,249 @@
>> +/*
>> + * V4L2 OF binding parsing library
>> + *
>> + * Copyright (C) 2012 Renesas Electronics Corp.
>> + * Author: Guennadi Liakhovetski<g.liakhovetski at gmx.de>
>> + *
>> + * This program is free software; you can redistribute it and/or modify
>> + * it under the terms of version 2 of the GNU General Public License as
>> + * published by the Free Software Foundation.
>> + */
>> +#include<linux/kernel.h>
>> +#include<linux/module.h>
>> +#include<linux/of.h>
>> +#include<linux/slab.h>
>
> Is slab.h really needed? I didn't have it in my version. Maybe you meant
> to include string.h for memset()?
I don't think it is needed, it looks like my mistake. I'll check it again
and replace it with string.h.
I've also noticed there are EXPORT_SYMBOL() missing for the first two
functions
in this file. I'll fix it in next version.
---
Thanks,
Sylwester
More information about the devicetree-discuss
mailing list