diff options
author | Mark Brown <broonie@linaro.org> | 2013-07-28 10:03:48 -0400 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2013-07-31 08:01:45 -0400 |
commit | a9c4055da8ee86e96cb34ad754f4f49028c8de4f (patch) | |
tree | ed6924d2d29e96359707d0e6b7831df6e1aab23d /drivers/mfd/stmpe.c | |
parent | 334a41ce9b753ec615e8c6c50ee07d6197190610 (diff) |
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: Mark Brown <broonie@linaro.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/mfd/stmpe.c')
-rw-r--r-- | drivers/mfd/stmpe.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/mfd/stmpe.c b/drivers/mfd/stmpe.c index 5d5e6f90424a..fff63a41862c 100644 --- a/drivers/mfd/stmpe.c +++ b/drivers/mfd/stmpe.c | |||
@@ -1106,7 +1106,8 @@ static int stmpe_devices_init(struct stmpe *stmpe) | |||
1106 | return ret; | 1106 | return ret; |
1107 | } | 1107 | } |
1108 | 1108 | ||
1109 | void stmpe_of_probe(struct stmpe_platform_data *pdata, struct device_node *np) | 1109 | static void stmpe_of_probe(struct stmpe_platform_data *pdata, |
1110 | struct device_node *np) | ||
1110 | { | 1111 | { |
1111 | struct device_node *child; | 1112 | struct device_node *child; |
1112 | 1113 | ||