[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20120517023222.GA7788@localhost>
Date: Thu, 17 May 2012 10:32:22 +0800
From: Fengguang Wu <fengguang.wu@...el.com>
To: Mauro Carvalho Chehab <mchehab@...hat.com>
Cc: Hans Verkuil <hverkuil@...all.nl>,
LKML <linux-kernel@...r.kernel.org>
Subject: [PATCH] radio: fix build error in rtrack2_alloc()
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@...all.nl>
Signed-off-by: Fengguang Wu <fengguang.wu@...el.com>
---
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists