提交 a9c4055d 编写于 作者: M Mark Brown 提交者: Lee Jones

mfd: stmpe: Staticise stmpe_of_probe()

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: NMark Brown <broonie@linaro.org>
Signed-off-by: NLee Jones <lee.jones@linaro.org>
上级 334a41ce
...@@ -1106,7 +1106,8 @@ static int stmpe_devices_init(struct stmpe *stmpe) ...@@ -1106,7 +1106,8 @@ static int stmpe_devices_init(struct stmpe *stmpe)
return ret; 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; struct device_node *child;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册