https://github.com/torvalds/linux
Raw File
Tip revision: 0034102808e0dbbf3a2394b82b1bb40b5778de9e authored by Linus Torvalds on 08 April 2012, 01:30:41 UTC
Linux 3.4-rc2
Tip revision: 0034102
mt9p031.h
#ifndef MT9P031_H
#define MT9P031_H

struct v4l2_subdev;

enum {
	MT9P031_COLOR_VERSION,
	MT9P031_MONOCHROME_VERSION,
};

struct mt9p031_platform_data {
	int (*set_xclk)(struct v4l2_subdev *subdev, int hz);
	int (*reset)(struct v4l2_subdev *subdev, int active);
	int ext_freq; /* input frequency to the mt9p031 for PLL dividers */
	int target_freq; /* frequency target for the PLL */
	int version; /* MT9P031_COLOR_VERSION or MT9P031_MONOCHROME_VERSION */
};

#endif
back to top