summaryrefslogtreecommitdiff
path: root/include/media/ov5640.h
diff options
context:
space:
mode:
authorMallikarjun Kasoju <mkasoju@nvidia.com>2012-10-12 21:34:17 +0530
committerDan Willemsen <dwillemsen@nvidia.com>2013-09-14 01:04:51 -0700
commit346e07058f2851d6f18f673aa5f1e2a6dce67ef7 (patch)
tree1af1cd97b8f32fc9a43c72eb4f06e08fec9897ad /include/media/ov5640.h
parent32792c9077846e793d3c4aea7203879f4ec735ee (diff)
media: video: tegra: pass device as argument in power_on
modify power_on api to pass device as argument so that from board files it can be used to get the regulator in place of NULL Bug 1154495 Change-Id: I5164fa04a14ef0d405e6c9d51f42efc8e6ce14bf Signed-off-by: Mallikarjun Kasoju <mkasoju@nvidia.com> Reviewed-on: http://git-master/r/143748 Reviewed-by: Mrutyunjay Sawant <msawant@nvidia.com> Tested-by: Mrutyunjay Sawant <msawant@nvidia.com>
Diffstat (limited to 'include/media/ov5640.h')
-rw-r--r--include/media/ov5640.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/media/ov5640.h b/include/media/ov5640.h
index dffe1a3cd966..da6be4d1d441 100644
--- a/include/media/ov5640.h
+++ b/include/media/ov5640.h
@@ -64,8 +64,8 @@ enum {
#ifdef __KERNEL__
struct ov5640_platform_data {
- int (*power_on)(void);
- int (*power_off)(void);
+ int (*power_on)(struct device *);
+ int (*power_off)(struct device *);
};
#endif /* __KERNEL__ */