From: Fengguang Wu <fengguang.wu@intel.com>
To: Mauro Carvalho Chehab <mchehab@redhat.com>
Cc: Hans Verkuil <hverkuil@xs4all.nl>, LKML <linux-kernel@vger.kernel.org>
Subject: [PATCH] radio: fix build error in rtrack2_alloc()
Date: Thu, 17 May 2012 10:32:22 +0800 [thread overview]
Message-ID: <20120517023222.GA7788@localhost> (raw)
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"
next reply other threads:[~2012-05-17 2:32 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-17 2:32 Fengguang Wu [this message]
2012-05-17 2:36 ` [PATCH] radio: fix build error in rtrack2_alloc() Fengguang Wu
2012-05-17 7:39 ` Hans Verkuil
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20120517023222.GA7788@localhost \
--to=fengguang.wu@intel.com \
--cc=hverkuil@xs4all.nl \
--cc=linux-kernel@vger.kernel.org \
--cc=mchehab@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox