backports: backport 3.6 fix on non CONFIG_COMMON_CLK kernels
authorLuis R. Rodriguez <mcgrof@do-not-panic.com>
Tue, 8 Apr 2014 15:36:13 +0000 (15:36 +0000)
committerLuis R. Rodriguez <mcgrof@do-not-panic.com>
Wed, 9 Apr 2014 01:16:22 +0000 (18:16 -0700)
commitc921dc658c78ec3dc1c479afe19a1c57b4e12eca
tree5472b4e727e8bd863ffa4366aced961e83d3dcd0
parentea1d27f01bb48bc1d47830a00c5092a45c99e9ee
backports: backport 3.6 fix on non CONFIG_COMMON_CLK kernels

Commit 93abe8e4 by Viresh added non CONFIG_COMMON_CLK static inlines
that should have gone in for 3.5 as 3.5 assumed some declared routines
would be exproted by the architecture, which was not true. We backport
only the non CONFIG_COMMON_CLK case as CONFIG_COMMON_CLK requires
core kernel architecture specific backport support which we currently do
not support (and perhaps shouldn't). Since 3.5 is not a supported kernel
there is no need to fix this there upstream but this then does require
a paper wrap work around for those kernels of providing an export symbol
for clk_enable() and clk_disable() for the !CONFIG_COMMON_CLK case which
older kernels failed to address.

mcgrof@ergon ~/linux-next (git::master)$ git describe --contains 93abe8e4
v3.6-rc1~41^2~117

Cc: Viresh Kumar <viresh.kumar@st.com>
Cc: Wolfram Sang <w.sang@pengutronix.de>
Cc: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
backport/backport-include/linux/clk.h [new file with mode: 0644]
backport/compat/compat-3.6.c