提交 b72fce52 编写于 作者: C Colin Ian King 提交者: Corey Minyard

char: ipmi: make function ipmi_get_info_from_resources static

The function ipmi_get_info_from_resources is local to the source and
does not need to be in global scope, so make it static.  Add in
newline to function declaration to make it checkpatch warning clean.

Cleans up sparse warnings:
symbol 'ipmi_get_info_from_resources' was not declared. Should it
be static?
Signed-off-by: NColin Ian King <colin.king@canonical.com>
Signed-off-by: NCorey Minyard <cminyard@mvista.com>
上级 392a17b1
......@@ -2275,8 +2275,9 @@ static void spmi_find_bmc(void)
#endif
#if defined(CONFIG_DMI) || defined(CONFIG_ACPI)
struct resource *ipmi_get_info_from_resources(struct platform_device *pdev,
struct smi_info *info)
static struct resource *
ipmi_get_info_from_resources(struct platform_device *pdev,
struct smi_info *info)
{
struct resource *res, *res_second;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册