public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] radio: fix build error in rtrack2_alloc()
@ 2012-05-17  2:32 Fengguang Wu
  2012-05-17  2:36 ` Fengguang Wu
  2012-05-17  7:39 ` Hans Verkuil
  0 siblings, 2 replies; 3+ messages in thread
From: Fengguang Wu @ 2012-05-17  2:32 UTC (permalink / raw)
  To: Mauro Carvalho Chehab; +Cc: Hans Verkuil, LKML

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@xs4all.nl>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.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"

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-05-17  7:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-17  2:32 [PATCH] radio: fix build error in rtrack2_alloc() Fengguang Wu
2012-05-17  2:36 ` Fengguang Wu
2012-05-17  7:39 ` Hans Verkuil

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox