projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
87f8873
)
meson-mx-socinfo: Make local function meson_mx_socinfo_init() static
author
weiyongjun (A)
<weiyongjun1@huawei.com>
Wed, 10 Jan 2018 14:19:40 +0000
(14:19 +0000)
committer
Kevin Hilman
<khilman@baylibre.com>
Mon, 12 Feb 2018 22:15:47 +0000
(14:15 -0800)
Fixes the following sparse warnings:
drivers/soc/amlogic/meson-mx-socinfo.c:107:12: warning:
symbol 'meson_mx_socinfo_init' was not declared. Should it be static?
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
drivers/soc/amlogic/meson-mx-socinfo.c
patch
|
blob
|
history
diff --git
a/drivers/soc/amlogic/meson-mx-socinfo.c
b/drivers/soc/amlogic/meson-mx-socinfo.c
index 7bfff5ff22a2a2fac6801b3f934d418e57889a5f..78f0f1aeca578a1a7716b4e79c41b2b36c9015d2 100644
(file)
--- a/
drivers/soc/amlogic/meson-mx-socinfo.c
+++ b/
drivers/soc/amlogic/meson-mx-socinfo.c
@@
-104,7
+104,7
@@
static const struct of_device_id meson_mx_socinfo_analog_top_ids[] = {
{ /* sentinel */ }
};
-int __init meson_mx_socinfo_init(void)
+
static
int __init meson_mx_socinfo_init(void)
{
struct soc_device_attribute *soc_dev_attr;
struct soc_device *soc_dev;