Re: [PATCH] radio: fix build error in rtrack2_alloc()

From: Hans Verkuil
Date: Thu May 17 2012 - 03:39:24 EST


On Thu May 17 2012 04:32:22 Fengguang Wu wrote:
> Fix compile error
>
> drivers/media/radio/radio-rtrack2.c: In function ârtrack2_allocâ:
> drivers/media/radio/radio-rtrack2.c:46:2: error: implicit declaration of function âkzallocâ

This fix has already been merged in the v4l staging tree, so it will find its
way into 3.5.

Regards,

Hans

>
> CC: Hans Verkuil <hverkuil@xxxxxxxxx>
> Signed-off-by: Fengguang Wu <fengguang.wu@xxxxxxxxx>
> ---
> drivers/media/radio/radio-rtrack2.c | 1 +
> 1 file changed, 1 insertion(+)
>
> --- linux.orig/drivers/media/radio/radio-rtrack2.c 2012-04-06 13:23:52.548862660 +0800
> +++ linux/drivers/media/radio/radio-rtrack2.c 2012-05-17 10:18:20.679495193 +0800
> @@ -17,6 +17,7 @@
> #include <linux/videodev2.h> /* kernel radio structs */
> #include <linux/mutex.h>
> #include <linux/io.h> /* outb, outb_p */
> +#include <linux/slab.h> /* kzalloc */
> #include <media/v4l2-device.h>
> #include <media/v4l2-ioctl.h>
> #include "radio-isa.h"
>
--
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/