summaryrefslogtreecommitdiffstats
path: root/drivers/media
diff options
context:
space:
mode:
authorRandy Dunlap <randy.dunlap@oracle.com>2010-05-20 18:08:23 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-06-01 01:23:21 -0300
commit1db2c22b2216718d4d9adb4a9450bb3dc70e56d2 (patch)
treef12adac7c07788aa248f7aef5e6f1c27b0a50982 /drivers/media
parent806b07c29b711aaf90c81d2a19711607769f8246 (diff)
downloadop-kernel-dev-1db2c22b2216718d4d9adb4a9450bb3dc70e56d2.zip
op-kernel-dev-1db2c22b2216718d4d9adb4a9450bb3dc70e56d2.tar.gz
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/media')
-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 3006a2c..1573392 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>
OpenPOWER on IntegriCloud