diff options
author | Randy Dunlap <randy.dunlap@oracle.com> | 2010-05-20 18:08:23 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-06-01 01:23:21 -0300 |
commit | 1db2c22b2216718d4d9adb4a9450bb3dc70e56d2 (patch) | |
tree | f12adac7c07788aa248f7aef5e6f1c27b0a50982 /drivers/media/video/ak881x.c | |
parent | 806b07c29b711aaf90c81d2a19711607769f8246 (diff) |
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/video/ak881x.c')
-rw-r--r-- | drivers/media/video/ak881x.c | 1 |
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> |