of/platform: Staticize of_platform_device_create_pdata()
PATCH 1/1 of/platform: Staticize of_platform_device_create_pdata()
From: Mark Brown <[email protected]>
It is not used outside of this file so doesn't need to be in the global namespace.
Signed-off-by Mark Brown <[email protected]>
--- drivers/of/platform.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/of/platform.c +1 -1
@@ -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,
Signature · 1 line
1.8.3.1
Grant Likely
AppliedQuoted 6 lines · Mark Brown
From: Mark Brown <[email protected]>
It is not used outside of this file so doesn't need to be in the global namespace.
Signed-off-by Mark Brown <[email protected]>
Applied, thanks.
g.