summaryrefslogtreecommitdiffstats
path: root/drivers/media
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-02-07 02:55:55 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2013-02-08 17:29:22 -0200
commit3e58ac14ad2c443d86c5bed0137a010fe4d16fe2 (patch)
treef11dd32f20305ff35112c65576f05b2f41bebcdb /drivers/media
parent5853d1acdeb3e40daaac6c465d92fc069272cb6a (diff)
downloadop-kernel-dev-3e58ac14ad2c443d86c5bed0137a010fe4d16fe2.zip
op-kernel-dev-3e58ac14ad2c443d86c5bed0137a010fe4d16fe2.tar.gz
[media] s5p-tv: Include missing platform_device.h header
Without this patch we get the following build error: drivers/media/platform/s5p-tv/mixer_video.c: In function ‘find_and_register_subdev’: drivers/media/platform/s5p-tv/mixer_video.c:42:34: error: ‘platform_bus_type’ undeclared (first use in this function) Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media')
-rw-r--r--drivers/media/platform/s5p-tv/mixer_video.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/platform/s5p-tv/mixer_video.c b/drivers/media/platform/s5p-tv/mixer_video.c
index c087b66..82142a2 100644
--- a/drivers/media/platform/s5p-tv/mixer_video.c
+++ b/drivers/media/platform/s5p-tv/mixer_video.c
@@ -19,6 +19,7 @@
#include <linux/videodev2.h>
#include <linux/mm.h>
#include <linux/module.h>
+#include <linux/platform_device.h>
#include <linux/timer.h>
#include <media/videobuf2-dma-contig.h>
OpenPOWER on IntegriCloud