diff options
author | Mallikarjun Kasoju <mkasoju@nvidia.com> | 2012-10-11 17:05:29 +0530 |
---|---|---|
committer | Simone Willett <swillett@nvidia.com> | 2012-10-11 15:00:08 -0700 |
commit | ffac8074a59effb9f6389418f186f3d0a563adf0 (patch) | |
tree | 1ed83ac077bb9d69567892a8fb6e36fab7f77153 /arch/arm/mach-tegra/board-e1853-panel.c | |
parent | 62487517c0fc512b2bbfc0b68e35f0f1615197f9 (diff) |
video: tegra: dc: change enable and hotplug_init arguments
pass device as argument for enable and hotplug_init so that it
can be used in board files to get the regulator using device name.
Bug 1154495
Change-Id: Ib549e4d9f2c6eaf4fbcc24851a3866f2fd3cbf84
Signed-off-by: Mallikarjun Kasoju <mkasoju@nvidia.com>
Reviewed-on: http://git-master/r/142702
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit
Diffstat (limited to 'arch/arm/mach-tegra/board-e1853-panel.c')
-rw-r--r-- | arch/arm/mach-tegra/board-e1853-panel.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-tegra/board-e1853-panel.c b/arch/arm/mach-tegra/board-e1853-panel.c index a4d6bc66f4e7..78aa08495ce9 100644 --- a/arch/arm/mach-tegra/board-e1853-panel.c +++ b/arch/arm/mach-tegra/board-e1853-panel.c @@ -34,7 +34,7 @@ #define E1853_HDMI_HPD TEGRA_GPIO_PB2 -static int e1853_panel_enable(void) +static int e1853_panel_enable(struct device *dev) { return 0; } @@ -85,7 +85,7 @@ static struct tegra_dc_platform_data e1853_disp1_pdata = { .fb = &e1853_fb_data, }; -static int e1853_hdmi_enable(void) +static int e1853_hdmi_enable(struct device *dev) { return 0; } |