diff options
author | Sakari Ailus <sakari.ailus@maxwell.research.nokia.com> | 2012-04-22 08:24:33 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-05-20 12:44:24 -0300 |
commit | 2547428de05d5bc45d3144a0ebc51e3f249a2bc0 (patch) | |
tree | ef6b6d63f365bf0dd19a861fb1dcffe43483369b /include | |
parent | 13c6a9f706d21fa02495f31b3bbd3ae4d42d108f (diff) | |
download | op-kernel-dev-2547428de05d5bc45d3144a0ebc51e3f249a2bc0.zip op-kernel-dev-2547428de05d5bc45d3144a0ebc51e3f249a2bc0.tar.gz |
[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')
-rw-r--r-- | include/media/smiapp.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/media/smiapp.h b/include/media/smiapp.h index a7877cd..9ab07fd 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 */ }; |