ARM: tegra: fix tegra_powergate_sequence_power_up() inline
authorStephen Warren <swarren@nvidia.com>
Mon, 13 Jan 2014 22:01:42 +0000 (15:01 -0700)
committerKevin Hilman <khilman@linaro.org>
Tue, 14 Jan 2014 16:01:10 +0000 (08:01 -0800)
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: 80b28791ff04 ("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>
include/linux/tegra-powergate.h

index e6f2ab3..46f0a07 100644 (file)
@@ -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;
 }