Skip to content

Commit

Permalink
[media] omap3isp: Move definitions required by board code under inclu…
Browse files Browse the repository at this point in the history
…de/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>
  • Loading branch information
Sakari Ailus authored and Mauro Carvalho Chehab committed May 14, 2012
1 parent 8f4f298 commit 618b055
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 0 additions & 4 deletions drivers/media/video/omap3isp/isp.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down
4 changes: 4 additions & 0 deletions include/media/omap3isp.h
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 618b055

Please sign in to comment.