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

From: Fengguang Wu
Date: Wed May 16 2012 - 22:32:26 EST


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â

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/