summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorRandy Dunlap <randy.dunlap@oracle.com>2010-05-20 23:08:23 +0200
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-06-01 06:23:21 +0200
commit1db2c22b2216718d4d9adb4a9450bb3dc70e56d2 (patch)
treef12adac7c07788aa248f7aef5e6f1c27b0a50982 /drivers
parentV4L/DVB: FusionHDTV: Use quick reads for I2C IR device probing (diff)
downloadlinux-1db2c22b2216718d4d9adb4a9450bb3dc70e56d2.tar.xz
linux-1db2c22b2216718d4d9adb4a9450bb3dc70e56d2.zip
V4L/DVB: ak881x needs slab.h
Add slab.h to fix ak881x build: drivers/media/video/ak881x.c:265:error: implicit declaration of function 'kzalloc' drivers/media/video/ak881x.c:265:warning: assignment makes pointer from integer without a cast drivers/media/video/ak881x.c:283:error: implicit declaration of function 'kfree' Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/media/video/ak881x.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/video/ak881x.c b/drivers/media/video/ak881x.c
index 3006a2c80f47..1573392f74bd 100644
--- a/drivers/media/video/ak881x.c
+++ b/drivers/media/video/ak881x.c
@@ -11,6 +11,7 @@
#include <linux/i2c.h>
#include <linux/init.h>
#include <linux/platform_device.h>
+#include <linux/slab.h>
#include <linux/videodev2.h>
#include <media/ak881x.h>