]> git.karo-electronics.de Git - linux-beck.git/commitdiff
of/platform: Staticize of_platform_device_create_pdata()
authorMark Brown <broonie@linaro.org>
Mon, 1 Jul 2013 19:26:52 +0000 (20:26 +0100)
committerGrant Likely <grant.likely@linaro.org>
Wed, 24 Jul 2013 10:10:11 +0000 (11:10 +0100)
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>
drivers/of/platform.c

index e0a6514ab46c20eb902453c3b321774d1e787ba0..b0d1ff8b09917dbcd197ec1a50ac0bcd1f93fd4a 100644 (file)
@@ -196,7 +196,7 @@ EXPORT_SYMBOL(of_device_alloc);
  * Returns pointer to created platform device, or NULL if a device was not
  * registered.  Unavailable devices will not get registered.
  */
-struct platform_device *of_platform_device_create_pdata(
+static struct platform_device *of_platform_device_create_pdata(
                                        struct device_node *np,
                                        const char *bus_id,
                                        void *platform_data,