]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
[media] v4l-dvb: using vmalloc needs vmalloc.h in cx231xx-417.c
authorStephen Rothwell <sfr@canb.auug.org.au>
Tue, 19 Oct 2010 07:07:30 +0000 (18:07 +1100)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 21 Oct 2010 10:56:42 +0000 (08:56 -0200)
Fixes these build errors and warnings:

drivers/media/video/cx231xx/cx231xx-417.c: In function 'cx231xx_load_firmware':
drivers/media/video/cx231xx/cx231xx-417.c:943: error: implicit declaration of function 'vmalloc'
drivers/media/video/cx231xx/cx231xx-417.c:943: warning: cast to pointer from integer of different size
drivers/media/video/cx231xx/cx231xx-417.c:950: warning: cast to pointer from integer of different size
drivers/media/video/cx231xx/cx231xx-417.c:1039: error: implicit declaration of function 'vfree'

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
drivers/media/video/cx231xx/cx231xx-417.c

index e456b97dc32e3be67c8e992392af3e6d53c113d2..aab21f3ce4721591c4773b80879524acac1dd43c 100644 (file)
@@ -32,6 +32,7 @@
 #include <linux/device.h>
 #include <linux/firmware.h>
 #include <linux/smp_lock.h>
+#include <linux/vmalloc.h>
 #include <media/v4l2-common.h>
 #include <media/v4l2-ioctl.h>
 #include <media/cx2341x.h>