aboutsummaryrefslogtreecommitdiffstats
path: root/include/media
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2012-12-21 14:11:55 -0500
committerMauro Carvalho Chehab <mchehab@redhat.com>2013-04-14 15:03:22 -0400
commitd67492585d8308a22a841956f1e629ef3b7d0315 (patch)
treee161fdd698d376b46084db6497458cca1f16d704 /include/media
parent97f212767a4d0fbddbf4786ccedacb47fc210548 (diff)
[media] mt9p031: Use the common clock framework
Configure the device external clock using the common clock framework instead of a board code callback function. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Acked-by: Sakari Ailus <sakari.ailus@iki.fi> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'include/media')
-rw-r--r--include/media/mt9p031.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/media/mt9p031.h b/include/media/mt9p031.h
index 0c97b19af293..b1e63f2b72bd 100644
--- a/include/media/mt9p031.h
+++ b/include/media/mt9p031.h
@@ -5,13 +5,11 @@ struct v4l2_subdev;
5 5
6/* 6/*
7 * struct mt9p031_platform_data - MT9P031 platform data 7 * struct mt9p031_platform_data - MT9P031 platform data
8 * @set_xclk: Clock frequency set callback
9 * @reset: Chip reset GPIO (set to -1 if not used) 8 * @reset: Chip reset GPIO (set to -1 if not used)
10 * @ext_freq: Input clock frequency 9 * @ext_freq: Input clock frequency
11 * @target_freq: Pixel clock frequency 10 * @target_freq: Pixel clock frequency
12 */ 11 */
13struct mt9p031_platform_data { 12struct mt9p031_platform_data {
14 int (*set_xclk)(struct v4l2_subdev *subdev, int hz);
15 int reset; 13 int reset;
16 int ext_freq; 14 int ext_freq;
17 int target_freq; 15 int target_freq;