diff options
author | Mallikarjun Kasoju <mkasoju@nvidia.com> | 2012-10-12 21:34:17 +0530 |
---|---|---|
committer | Mrutyunjay Sawant <msawant@nvidia.com> | 2012-10-15 06:41:05 -0700 |
commit | ad124e8e3c6cf18517e8984a3493347a8cac842c (patch) | |
tree | aba071307140179409018ba3a4ce8292314dfbf7 /arch/arm/mach-tegra/board-curacao-sensors.c | |
parent | 9e19d5d7f4ec19d9174ff010487bd3a7879aafa0 (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 'arch/arm/mach-tegra/board-curacao-sensors.c')
-rw-r--r-- | arch/arm/mach-tegra/board-curacao-sensors.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/arch/arm/mach-tegra/board-curacao-sensors.c b/arch/arm/mach-tegra/board-curacao-sensors.c index acc8aad37cd2..b34a776fd211 100644 --- a/arch/arm/mach-tegra/board-curacao-sensors.c +++ b/arch/arm/mach-tegra/board-curacao-sensors.c @@ -52,12 +52,12 @@ static int curacao_camera_init(void) return 0; } -static int curacao_left_ov5650_power_on(void) +static int curacao_left_ov5650_power_on(struct device *dev) { return 0; } -static int curacao_left_ov5650_power_off(void) +static int curacao_left_ov5650_power_off(struct device *dev) { return 0; } @@ -68,12 +68,12 @@ struct ov5650_platform_data curacao_ov5650_data = { }; #ifdef CONFIG_VIDEO_OV14810 -static int curacao_ov14810_power_on(void) +static int curacao_ov14810_power_on(struct device *dev) { return 0; } -static int curacao_ov14810_power_off(void) +static int curacao_ov14810_power_off(struct device *dev) { return 0; } @@ -109,12 +109,12 @@ static struct i2c_board_info curacao_i2c_board_info_e1214[] = { }; #endif -static int curacao_right_ov5650_power_on(void) +static int curacao_right_ov5650_power_on(struct device *dev) { return 0; } -static int curacao_right_ov5650_power_off(void) +static int curacao_right_ov5650_power_off(struct device *dev) { return 0; } @@ -130,12 +130,12 @@ struct ov5650_platform_data curacao_right_ov5650_data = { .synchronize_sensors = curacao_ov5650_synchronize_sensors, }; -static int curacao_ov2710_power_on(void) +static int curacao_ov2710_power_on(struct device *dev) { return 0; } -static int curacao_ov2710_power_off(void) +static int curacao_ov2710_power_off(struct device *dev) { return 0; } |