Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: tegra: fix tegra_powergate_sequence_power_up() inline

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>

authored by

Stephen Warren and committed by
Kevin Hilman
f53f4159 5494bd2d

+1 -1
+1 -1
include/linux/tegra-powergate.h
··· 115 115 } 116 116 117 117 static inline int tegra_powergate_sequence_power_up(int id, struct clk *clk, 118 - struct reset_control *rst); 118 + struct reset_control *rst) 119 119 { 120 120 return -ENOSYS; 121 121 }