From: Mark Brown Date: Mon, 1 Jul 2013 19:26:52 +0000 (+0100) Subject: of/platform: Staticize of_platform_device_create_pdata() X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=245d9641909aee2e73fc773cea708eb7bc51a524;p=linux-beck.git 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 Signed-off-by: Grant Likely --- 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); * 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,