projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
334a41c
)
mfd: stmpe: Staticise stmpe_of_probe()
author
Mark Brown
<broonie@linaro.org>
Sun, 28 Jul 2013 14:03:48 +0000
(15:03 +0100)
committer
Lee Jones
<lee.jones@linaro.org>
Wed, 31 Jul 2013 12:01:45 +0000
(13:01 +0100)
It is only called from this file so there is no need for it to be in the
global namespace and cause sparse to warn.
Signed-off-by: Mark Brown <broonie@linaro.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/stmpe.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/mfd/stmpe.c
b/drivers/mfd/stmpe.c
index 5d5e6f90424aa981653e0e3a609845d4de5a935f..fff63a41862cf6bbb4acfac38496447a4137ad0a 100644
(file)
--- a/
drivers/mfd/stmpe.c
+++ b/
drivers/mfd/stmpe.c
@@
-1106,7
+1106,8
@@
static int stmpe_devices_init(struct stmpe *stmpe)
return ret;
}
-void stmpe_of_probe(struct stmpe_platform_data *pdata, struct device_node *np)
+static void stmpe_of_probe(struct stmpe_platform_data *pdata,
+ struct device_node *np)
{
struct device_node *child;