提交 245d9641 编写于 作者: M Mark Brown 提交者: Grant Likely

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: NMark Brown <broonie@linaro.org>
Signed-off-by: NGrant Likely <grant.likely@linaro.org>
上级 374d5c99
......@@ -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,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册