]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
net/c_can: remove conditional compilation of clk code
authorViresh Kumar <viresh.kumar@st.com>
Sat, 21 Jul 2012 00:54:38 +0000 (10:54 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 25 Jul 2012 03:53:11 +0000 (13:53 +1000)
commitda949c246ed828605d61dc653f43557ccbf3fdd9
tree13a5fd02cec665d7256b1a5d0d4d9721cf0972c2
parentc630c4b16d6b935f733eb54cbffcfe44e40bd9c7
net/c_can: remove conditional compilation of clk code

With addition of dummy clk_*() calls for non CONFIG_HAVE_CLK cases in clk.h,
there is no need to have clk code enclosed in #ifdef CONFIG_HAVE_CLK, #endif
macros.

Signed-off-by: Viresh Kumar <viresh.kumar@st.com>
Acked-by: David S. Miller <davem@davemloft.net>
Cc: Bhupesh Sharma <bhupesh.sharma@st.com>
Cc: Russell King <rmk@arm.linux.org.uk>
Cc: Mike Turquette <mturquette@linaro.org>
Cc: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Cc: viresh kumar <viresh.linux@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/net/can/c_can/c_can_platform.c