clk: spear: Add stub functions for spear3[0|1|2]0_clk_init()
authorAxel Lin <axel.lin@ingics.com>
Tue, 6 Nov 2012 02:34:20 +0000 (10:34 +0800)
committerMike Turquette <mturquette@linaro.org>
Thu, 15 Nov 2012 19:04:35 +0000 (11:04 -0800)
commit90d4971d3d71a50f2265d97589ef361d1402647a
tree6dd67a6f65d49ce7d77032526de8432f4ffefb4d
parentddc07ef9499509200033be7e387feb6c83744a73
clk: spear: Add stub functions for spear3[0|1|2]0_clk_init()

This fixes compile error if one of SPEAr3xx implementations is not selected.

  CC      drivers/clk/spear/spear3xx_clock.o
drivers/clk/spear/spear3xx_clock.c: In function 'spear3xx_clk_init':
drivers/clk/spear/spear3xx_clock.c:599:3: error: implicit declaration of function 'spear300_clk_init' [-Werror=implicit-function-declaration]
drivers/clk/spear/spear3xx_clock.c:601:3: error: implicit declaration of function 'spear310_clk_init' [-Werror=implicit-function-declaration]
drivers/clk/spear/spear3xx_clock.c:603:3: error: implicit declaration of function 'spear320_clk_init' [-Werror=implicit-function-declaration]
cc1: some warnings being treated as errors
make[3]: *** [drivers/clk/spear/spear3xx_clock.o] Error 1
make[2]: *** [drivers/clk/spear] Error 2
make[1]: *** [drivers/clk] Error 2
make: *** [drivers] Error 2

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
drivers/clk/spear/spear3xx_clock.c