1
0
Fork 0

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>
patches-3.12
Mark Brown 2013-07-01 20:26:52 +01:00 committed by Grant Likely
parent 374d5c9964
commit 245d964190
1 changed files with 1 additions and 1 deletions

View 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,