Skip to content

Commit

Permalink
ARM: tegra: fix tegra_powergate_sequence_power_up() inline
Browse files Browse the repository at this point in the history
Remove an invalid semicolon from the inline dummy, thus solving:
In file included from drivers/gpu/drm/tegra/gr3d.c:15:0:
include/linux/tegra-powergate.h:119:1: error: expected identifier or '(' before '{' token

Fixes: 80b2879 ("ARM: tegra: pass reset to tegra_powergate_sequence_power_up()")
Reported-by: Russell King <linux@arm.linux.org.uk>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Reviewed-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Kevin Hilman <khilman@linaro.org>
  • Loading branch information
Stephen Warren authored and Kevin Hilman committed Jan 14, 2014
1 parent 5494bd2 commit f53f415
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/linux/tegra-powergate.h
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ static inline int tegra_powergate_remove_clamping(int id)
}

static inline int tegra_powergate_sequence_power_up(int id, struct clk *clk,
struct reset_control *rst);
struct reset_control *rst)
{
return -ENOSYS;
}
Expand Down

0 comments on commit f53f415

Please sign in to comment.