Re: [PATCH v6 1/7] media: V4L2: add temporary clock helpers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 21 Mar 2013 13:49:50 +0530
Prabhakar Lad <prabhakar.csengg@xxxxxxxxx> wrote:
...
> >  drivers/media/v4l2-core/Makefile   |    2 +-
> >  drivers/media/v4l2-core/v4l2-clk.c |  184 ++++++++++++++++++++++++++++++++++++
> >  include/media/v4l2-clk.h           |   55 +++++++++++
> >  3 files changed, 240 insertions(+), 1 deletions(-)
> >  create mode 100644 drivers/media/v4l2-core/v4l2-clk.c
> >  create mode 100644 include/media/v4l2-clk.h
> >
> While trying out this patch I got following error (using 3.9-rc3):-
> 
> drivers/media/v4l2-core/v4l2-clk.c: In function 'v4l2_clk_register':
> drivers/media/v4l2-core/v4l2-clk.c:134:2: error: implicit declaration
> of function 'kzalloc'
> drivers/media/v4l2-core/v4l2-clk.c:134:6: warning: assignment makes
> pointer from integer without a cast
> drivers/media/v4l2-core/v4l2-clk.c:162:2: error: implicit declaration
> of function 'kfree'
> make[3]: *** [drivers/media/v4l2-core/v4l2-clk.o] Error 1
> make[2]: *** [drivers/media/v4l2-core] Error 2

please try adding

#include <linux/slab.h>

in the affected file.

Thanks,

Anatolij
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux