]> git.karo-electronics.de Git - linux-beck.git/commit
clk: export __clk_get_name for re-use in imx-ipu-v3 and others
authorNiels de Vos <ndevos@redhat.com>
Thu, 13 Dec 2012 12:12:25 +0000 (13:12 +0100)
committerMike Turquette <mturquette@linaro.org>
Sat, 12 Jan 2013 02:34:14 +0000 (18:34 -0800)
commit4895084c87ab0973308021d755596798160b682a
treed2f8ba583f46bfe9829eef5eab5774c87dde5861
parent65800b2c4012e11f1c33692e6727e743a05c6efe
clk: export __clk_get_name for re-use in imx-ipu-v3 and others

This fixes the following error when building for arm-imx:
> ERROR: "__clk_get_name" [drivers/staging/imx-drm/ipu-v3/imx-ipu-v3.ko] undefined!
> make[1]: *** [__modpost] Error 1
> make: *** [modules] Error 2

There are valid usecases to get the name of a clock, be it for debugging
purposes or to register a children of a clock like done in this IPU driver.
Therefore exporting __clk_get_name() and make it available for others makes
sense.

Reported-by: Peter Robinson <pbrobinson@gmail.com>
CC: Sascha Hauer <s.hauer@pengutronix.de>
CC: Mike Turquette <mturquette@linaro.org>
Signed-off-by: Niels de Vos <ndevos@redhat.com>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
[mturquette@linaro.org: removal of inline made redundant by 65800b2]
drivers/clk/clk.c