Skip to contentSkip to conversation

of/platform: Staticize of_platform_device_create_pdata()

PATCH Applied Mark Brown 2 participants 2 messages Jul 1, 2013 – Jul 20, 2013 1 message not in the archive Device tree

lore
Share & tools
lore

Mark Brown

author
#0 lore raw

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.

---
 drivers/of/platform.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/of/platform.c +1 -1
index e0a6514..b0d1ff8 100644
@@ -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

A message that is not in the archive (sent off-list or not yet received): 1372706812-3463-1-git-send-email-broonie-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org