char: ipmi: make function ipmi_get_info_from_resources static
authorColin Ian King <colin.king@canonical.com>
Tue, 15 Aug 2017 10:09:58 +0000 (11:09 +0100)
committerCorey Minyard <cminyard@mvista.com>
Wed, 27 Sep 2017 21:03:45 +0000 (16:03 -0500)
commitb72fce52a14bbe0a94259a95032cf9dd1b3dd143
tree8927767ccc0f961a0b2eab28b3a109fb320db3d2
parent392a17b10ec4320d3c0e96e2a23ebaad1123b989
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: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Corey Minyard <cminyard@mvista.com>
drivers/char/ipmi/ipmi_si_intf.c