projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
295dbde
)
cpufreq / s3c24xx: Fix s3c_cpufreq_initclks() __init attribute location
author
Hanjun Guo
<hanjun.guo@linaro.org>
Tue, 13 Aug 2013 10:20:10 +0000
(18:20 +0800)
committer
Rafael J. Wysocki
<rafael.j.wysocki@intel.com>
Wed, 14 Aug 2013 20:24:24 +0000
(22:24 +0200)
__init belongs after the return type on functions, not before it.
Signed-off-by: Hanjun Guo <hanjun.guo@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/s3c24xx-cpufreq.c
patch
|
blob
|
history
diff --git
a/drivers/cpufreq/s3c24xx-cpufreq.c
b/drivers/cpufreq/s3c24xx-cpufreq.c
index f169ee52e6ebf734d73e1bea4d956e829a18f7a3..b0f343fcb7eefdfe40b942b202398372a618df44 100644
(file)
--- a/
drivers/cpufreq/s3c24xx-cpufreq.c
+++ b/
drivers/cpufreq/s3c24xx-cpufreq.c
@@
-392,7
+392,7
@@
static int s3c_cpufreq_init(struct cpufreq_policy *policy)
return 0;
}
-static
__init in
t s3c_cpufreq_initclks(void)
+static
int __ini
t s3c_cpufreq_initclks(void)
{
_clk_mpll = s3c_cpufreq_clk_get(NULL, "mpll");
_clk_xtal = s3c_cpufreq_clk_get(NULL, "xtal");