diff options
author | Stephen Rothwell | 2010-02-05 06:46:47 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab | 2010-02-26 19:10:56 +0100 |
commit | 6fd2d0f924e352e50a35ac9d9534ccc91b5c9bb9 (patch) | |
tree | 13d489a15367f2108a8758e751c6c5dc24e66f0f /drivers/media/dvb/ngene | |
parent | V4L/DVB: mfd: Add support for the timberdale FPGA (diff) | |
download | kernel-qcow2-linux-6fd2d0f924e352e50a35ac9d9534ccc91b5c9bb9.tar.gz kernel-qcow2-linux-6fd2d0f924e352e50a35ac9d9534ccc91b5c9bb9.tar.xz kernel-qcow2-linux-6fd2d0f924e352e50a35ac9d9534ccc91b5c9bb9.zip |
V4L/DVB: using vmalloc requires include linux/vmalloc.h
After merging the scsi-post-merge tree, today's linux-next build (powerpc
allyesconfig) failed like this:
drivers/media/dvb/ngene/ngene-core.c: In function 'ngene_release_buffers':
drivers/media/dvb/ngene/ngene-core.c:1443: error: implicit declaration of function 'vfree'
drivers/media/dvb/ngene/ngene-core.c: In function 'ngene_get_buffers':
drivers/media/dvb/ngene/ngene-core.c:1454: error: implicit declaration of function 'vmalloc'
drivers/media/dvb/ngene/ngene-core.c:1454: warning: assignment makes pointer from integer without a cast
drivers/media/dvb/ngene/ngene-core.c:1461: warning: assignment makes pointer from integer without a cast
drivers/media/dvb/ngene/ngene-core.c:1467: warning: assignment makes pointer from integer without a cast
drivers/media/dvb/ngene/ngene-core.c: In function 'ngene_probe':
drivers/media/dvb/ngene/ngene-core.c:1836: warning: assignment makes pointer from integer without a cast
Caused by commit b54c755d6263efe376f3dfc8c72c8e7b4fb4f4c1 ("V4L/DVB: ngene: Initial check-in").
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb/ngene')
-rw-r--r-- | drivers/media/dvb/ngene/ngene-core.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/dvb/ngene/ngene-core.c b/drivers/media/dvb/ngene/ngene-core.c index ea610e4b571d..cb5982ed8504 100644 --- a/drivers/media/dvb/ngene/ngene-core.c +++ b/drivers/media/dvb/ngene/ngene-core.c @@ -41,6 +41,7 @@ #include <linux/version.h> #include <linux/byteorder/generic.h> #include <linux/firmware.h> +#include <linux/vmalloc.h> #include "ngene.h" |