clk: tegra: provide tegra_periph_reset_assert alternative
authorArnd Bergmann <arnd@arndb.de>
Fri, 21 Jun 2013 20:32:26 +0000 (22:32 +0200)
committerMike Turquette <mturquette@linaro.org>
Sat, 22 Jun 2013 18:03:09 +0000 (11:03 -0700)
commit7064f6bd86278029348c36d30bd325e7e05b6fee
treec0c410be11d1425d90f0b9b7ab34d5ac2de34f76
parent82ba93b27cf5ac17b753f21d1f65d4f0084f91f9
clk: tegra: provide tegra_periph_reset_assert alternative

We have some tegra device drivers that are written to be platform
independent but still use the tegra specific tegra_periph_reset_assert
function. In order to build and link them without errors,
this provides a static inline version of these functions that
does nothing when Tegra support is disabled.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
[mturquette@linaro.org: fixed up trivial merge issue]
include/linux/clk/tegra.h