summaryrefslogtreecommitdiffstats
path: root/drivers/media/platform/exynos4-is/common.h
diff options
context:
space:
mode:
authorSylwester Nawrocki <s.nawrocki@samsung.com>2013-06-10 08:51:44 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2013-06-12 21:52:40 -0300
commit045a1faca83cdaa54dd88f9a2875debdea5d79fa (patch)
tree082ef558498c241db4165d80e3703a73ee18b406 /drivers/media/platform/exynos4-is/common.h
parenta44e3b206a26e3978d1041b4145e5afc4ed52e86 (diff)
downloadlinux-045a1faca83cdaa54dd88f9a2875debdea5d79fa.tar.gz
linux-045a1faca83cdaa54dd88f9a2875debdea5d79fa.tar.bz2
linux-045a1faca83cdaa54dd88f9a2875debdea5d79fa.zip
[media] exynos4-is: Move common functions to a separate module
Create a common module (exynos4-is-common.ko) for common functions used across the exynos4-is video device and subdev drivers. Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/platform/exynos4-is/common.h')
-rw-r--r--drivers/media/platform/exynos4-is/common.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/drivers/media/platform/exynos4-is/common.h b/drivers/media/platform/exynos4-is/common.h
new file mode 100644
index 000000000000..3c398039ba28
--- /dev/null
+++ b/drivers/media/platform/exynos4-is/common.h
@@ -0,0 +1,12 @@
+/*
+ * Copyright (C) 2013 Samsung Electronics Co., Ltd.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+#include <media/media-entity.h>
+#include <media/v4l2-subdev.h>
+
+struct v4l2_subdev *fimc_find_remote_sensor(struct media_entity *entity);