summaryrefslogtreecommitdiffstats
path: root/drivers/media
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2012-06-21 10:05:56 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-06-21 10:41:50 -0300
commitce7d16a1752accbff1ff7c813594aad0b7168563 (patch)
tree47b5b68dec4679766784303fbfc4ec64e773a86c /drivers/media
parent4d146ad7388a9cca2a890d7449aeb767565068d7 (diff)
downloadop-kernel-dev-ce7d16a1752accbff1ff7c813594aad0b7168563.zip
op-kernel-dev-ce7d16a1752accbff1ff7c813594aad0b7168563.tar.gz
[media] smiapp-core: fix compilation build error
smiapp-core.c:2472:3: error: implicit declaration of function 'kzalloc' [-Werror=implicit-function-declaration] Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media')
-rw-r--r--drivers/media/video/smiapp/smiapp-core.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/video/smiapp/smiapp-core.c b/drivers/media/video/smiapp/smiapp-core.c
index e8c93c8..9cf5bda 100644
--- a/drivers/media/video/smiapp/smiapp-core.c
+++ b/drivers/media/video/smiapp/smiapp-core.c
@@ -31,6 +31,7 @@
#include <linux/device.h>
#include <linux/gpio.h>
#include <linux/module.h>
+#include <linux/slab.h>
#include <linux/regulator/consumer.h>
#include <linux/slab.h>
#include <linux/v4l2-mediabus.h>
OpenPOWER on IntegriCloud