clk: fix compile for OF && !COMMON_CLK
authorRob Herring <rob.herring@calxeda.com>
Wed, 18 Jul 2012 03:52:23 +0000 (11:52 +0800)
committerMike Turquette <mturquette@linaro.org>
Thu, 19 Jul 2012 21:07:56 +0000 (14:07 -0700)
commit137f8a7213d80c1388ca48280c1ef0856b6fec30
treee304419eda442ca03a9997d6fdef12ef69b50830
parent9f1612d351a8e57d3d694e828641d3e4eeb224f8
clk: fix compile for OF && !COMMON_CLK

With commit 766e6a4ec602d0c107 (clk: add DT clock binding support),
compiling with OF && !COMMON_CLK is broken.

Reported-by: Alexandre Pereira da Silva <aletes.xgr@gmail.com>
Reported-by: Prashant Gaikwad <pgaikwad@nvidia.com>
Signed-off-by: Rob Herring <rob.herring@calxeda.com>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
drivers/clk/clkdev.c
include/linux/clk.h