From: Mark Brown Date: Sun, 28 Jul 2013 14:03:48 +0000 (+0100) Subject: mfd: stmpe: Staticise stmpe_of_probe() X-Git-Tag: firefly_0821_release~176^2~5388^2~7^2~28 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=a9c4055da8ee86e96cb34ad754f4f49028c8de4f;p=firefly-linux-kernel-4.4.55.git 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 Signed-off-by: Lee Jones --- 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) 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;