diff options
author | Mark Brown <broonie@linaro.org> | 2013-07-01 15:26:52 -0400 |
---|---|---|
committer | Grant Likely <grant.likely@linaro.org> | 2013-07-24 06:10:11 -0400 |
commit | 245d9641909aee2e73fc773cea708eb7bc51a524 (patch) | |
tree | efaab6fba7ef2c2976c2c1f1d4c7f555f33d1944 /drivers/of/platform.c | |
parent | 374d5c9964c10373ba39bbe934f4262eb87d7114 (diff) |
of/platform: Staticize of_platform_device_create_pdata()
It is not used outside of this file so doesn't need to be in the global
namespace.
Signed-off-by: Mark Brown <broonie@linaro.org>
Signed-off-by: Grant Likely <grant.likely@linaro.org>
Diffstat (limited to 'drivers/of/platform.c')
-rw-r--r-- | drivers/of/platform.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/of/platform.c b/drivers/of/platform.c index e0a6514ab46c..b0d1ff8b0991 100644 --- a/drivers/of/platform.c +++ b/drivers/of/platform.c | |||
@@ -196,7 +196,7 @@ EXPORT_SYMBOL(of_device_alloc); | |||
196 | * Returns pointer to created platform device, or NULL if a device was not | 196 | * Returns pointer to created platform device, or NULL if a device was not |
197 | * registered. Unavailable devices will not get registered. | 197 | * registered. Unavailable devices will not get registered. |
198 | */ | 198 | */ |
199 | struct platform_device *of_platform_device_create_pdata( | 199 | static struct platform_device *of_platform_device_create_pdata( |
200 | struct device_node *np, | 200 | struct device_node *np, |
201 | const char *bus_id, | 201 | const char *bus_id, |
202 | void *platform_data, | 202 | void *platform_data, |