summaryrefslogtreecommitdiffstats
path: root/include/media
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2012-12-21 16:11:55 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2013-04-14 16:03:22 -0300
commitd67492585d8308a22a841956f1e629ef3b7d0315 (patch)
treee161fdd698d376b46084db6497458cca1f16d704 /include/media
parent97f212767a4d0fbddbf4786ccedacb47fc210548 (diff)
downloadlinux-d67492585d8308a22a841956f1e629ef3b7d0315.tar.bz2
[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;
/*
* struct mt9p031_platform_data - MT9P031 platform data
- * @set_xclk: Clock frequency set callback
* @reset: Chip reset GPIO (set to -1 if not used)
* @ext_freq: Input clock frequency
* @target_freq: Pixel clock frequency
*/
struct mt9p031_platform_data {
- int (*set_xclk)(struct v4l2_subdev *subdev, int hz);
int reset;
int ext_freq;
int target_freq;