summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSakari Ailus <sakari.ailus@iki.fi>2011-12-11 09:57:51 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-05-14 08:48:55 -0300
commit618b055bc9c7253677520c1536a47540c3647a1a (patch)
tree25fe01e2bc4a587572ce18280fa7d3dfb5523ade
parent8f4f298e027bc58513811d7bbb7bfa457b0026c3 (diff)
downloadlinux-618b055bc9c7253677520c1536a47540c3647a1a.tar.gz
linux-618b055bc9c7253677520c1536a47540c3647a1a.tar.bz2
linux-618b055bc9c7253677520c1536a47540c3647a1a.zip
[media] omap3isp: Move definitions required by board code under include/media
XCLK definitions are often required by the board code. Move them to public include file. Signed-off-by: Sakari Ailus <sakari.ailus@iki.fi> Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
-rw-r--r--drivers/media/video/omap3isp/isp.h4
-rw-r--r--include/media/omap3isp.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/drivers/media/video/omap3isp/isp.h b/drivers/media/video/omap3isp/isp.h
index f8d1f100fc19..38c6619a7723 100644
--- a/drivers/media/video/omap3isp/isp.h
+++ b/drivers/media/video/omap3isp/isp.h
@@ -238,10 +238,6 @@ void omap3isp_configure_bridge(struct isp_device *isp,
const struct isp_parallel_platform_data *pdata,
unsigned int shift);
-#define ISP_XCLK_NONE 0
-#define ISP_XCLK_A 1
-#define ISP_XCLK_B 2
-
struct isp_device *omap3isp_get(struct isp_device *isp);
void omap3isp_put(struct isp_device *isp);
diff --git a/include/media/omap3isp.h b/include/media/omap3isp.h
index 042849a34640..3f4928df6ed0 100644
--- a/include/media/omap3isp.h
+++ b/include/media/omap3isp.h
@@ -29,6 +29,10 @@
struct i2c_board_info;
struct isp_device;
+#define ISP_XCLK_NONE 0
+#define ISP_XCLK_A 1
+#define ISP_XCLK_B 2
+
enum isp_interface_type {
ISP_INTERFACE_PARALLEL,
ISP_INTERFACE_CSI2A_PHY2,