summaryrefslogtreecommitdiffstats
path: root/include/media
diff options
context:
space:
mode:
authorSakari Ailus <sakari.ailus@maxwell.research.nokia.com>2012-04-22 08:24:33 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-05-20 12:44:24 -0300
commit2547428de05d5bc45d3144a0ebc51e3f249a2bc0 (patch)
treeef6b6d63f365bf0dd19a861fb1dcffe43483369b /include/media
parent13c6a9f706d21fa02495f31b3bbd3ae4d42d108f (diff)
downloadlinux-2547428de05d5bc45d3144a0ebc51e3f249a2bc0.tar.gz
linux-2547428de05d5bc45d3144a0ebc51e3f249a2bc0.tar.bz2
linux-2547428de05d5bc45d3144a0ebc51e3f249a2bc0.zip
[media] smiapp: Allow using external clock from the clock framework
Instead of providing a function in platform data, allow also providing the name of the external clock and use it through the clock framework. Signed-off-by: Sakari Ailus <sakari.ailus@maxwell.research.nokia.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'include/media')
-rw-r--r--include/media/smiapp.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/media/smiapp.h b/include/media/smiapp.h
index a7877cd0733d..9ab07fd45d5c 100644
--- a/include/media/smiapp.h
+++ b/include/media/smiapp.h
@@ -77,6 +77,7 @@ struct smiapp_platform_data {
struct smiapp_flash_strobe_parms *strobe_setup;
int (*set_xclk)(struct v4l2_subdev *sd, int hz);
+ char *ext_clk_name;
int xshutdown; /* gpio or SMIAPP_NO_XSHUTDOWN */
};