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:
4495c08
)
cpufreq: mt8173: Mark mt8173_cpufreq_driver_init as __init
author
Daniel Kurtz
<djkurtz@chromium.org>
Thu, 2 Mar 2017 11:08:58 +0000
(19:08 +0800)
committer
Rafael J. Wysocki
<rafael.j.wysocki@intel.com>
Sun, 12 Mar 2017 22:10:53 +0000
(23:10 +0100)
This function is only called once at boot by device_initcall(), so mark
it as __init.
Signed-off-by: Daniel Kurtz <djkurtz@chromium.org>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/mt8173-cpufreq.c
patch
|
blob
|
history
diff --git
a/drivers/cpufreq/mt8173-cpufreq.c
b/drivers/cpufreq/mt8173-cpufreq.c
index ab25b1235a5eadc32cbc7cf904e11665e786f878..72bc1192bd3019f831ad8ef23b1f3f540c11f672 100644
(file)
--- a/
drivers/cpufreq/mt8173-cpufreq.c
+++ b/
drivers/cpufreq/mt8173-cpufreq.c
@@
-573,7
+573,7
@@
static struct platform_driver mt8173_cpufreq_platdrv = {
.probe = mt8173_cpufreq_probe,
};
-static int mt8173_cpufreq_driver_init(void)
+static int
__init
mt8173_cpufreq_driver_init(void)
{
struct platform_device *pdev;
int err;