diff options
author | Sakari Ailus <sakari.ailus@iki.fi> | 2011-12-11 07:57:51 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-05-14 07:48:55 -0400 |
commit | 618b055bc9c7253677520c1536a47540c3647a1a (patch) | |
tree | 25fe01e2bc4a587572ce18280fa7d3dfb5523ade | |
parent | 8f4f298e027bc58513811d7bbb7bfa457b0026c3 (diff) |
[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.h | 4 | ||||
-rw-r--r-- | include/media/omap3isp.h | 4 |
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, | |||
238 | const struct isp_parallel_platform_data *pdata, | 238 | const struct isp_parallel_platform_data *pdata, |
239 | unsigned int shift); | 239 | unsigned int shift); |
240 | 240 | ||
241 | #define ISP_XCLK_NONE 0 | ||
242 | #define ISP_XCLK_A 1 | ||
243 | #define ISP_XCLK_B 2 | ||
244 | |||
245 | struct isp_device *omap3isp_get(struct isp_device *isp); | 241 | struct isp_device *omap3isp_get(struct isp_device *isp); |
246 | void omap3isp_put(struct isp_device *isp); | 242 | void omap3isp_put(struct isp_device *isp); |
247 | 243 | ||
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 @@ | |||
29 | struct i2c_board_info; | 29 | struct i2c_board_info; |
30 | struct isp_device; | 30 | struct isp_device; |
31 | 31 | ||
32 | #define ISP_XCLK_NONE 0 | ||
33 | #define ISP_XCLK_A 1 | ||
34 | #define ISP_XCLK_B 2 | ||
35 | |||
32 | enum isp_interface_type { | 36 | enum isp_interface_type { |
33 | ISP_INTERFACE_PARALLEL, | 37 | ISP_INTERFACE_PARALLEL, |
34 | ISP_INTERFACE_CSI2A_PHY2, | 38 | ISP_INTERFACE_CSI2A_PHY2, |