From: Stephen Warren Date: Mon, 24 Jun 2013 19:05:56 +0000 (-0600) Subject: clk: tegra: fix ifdef for tegra_periph_reset_assert inline X-Git-Tag: omap-for-v3.11/fixes-for-merge-window~27^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=45e3ec3784aec0d194740b75b547bfabca448ff3;p=pandora-kernel.git clk: tegra: fix ifdef for tegra_periph_reset_assert inline Commit 7064f6b "clk: tegra: provide tegra_periph_reset_assert alternative" added ifdef'd static inline versions of some functions, but tested ARCH_TEGRA rather than CONFIG_ARCH_TEGRA, thus disabling these function in all cases. In some cases, this caused HW modules to misbehave; for example, the Tegra I2C driver BUG()d during boot on Seaboard. Reported-by: Olof Johansson Signed-off-by: Stephen Warren Tested-by: Paul Walmsley Signed-off-by: Mike Turquette --- Reading git-diff-tree failed