drivers/macintosh/smu.c: Fix undeclared symbol warning
authorWang Wensheng <wangwensheng4@huawei.com>
Mon, 14 Sep 2020 12:26:15 +0000 (12:26 +0000)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 16 Sep 2020 12:05:18 +0000 (22:05 +1000)
commit3db8715ec9dc1d32ecafc67af9fb96508c98efe5
treef0d5662b71773d8e2e5cb6f1cfa22c1c2b17c216
parentca78ef2f08ccfa29b711d644964cdf9d7ace15e5
drivers/macintosh/smu.c: Fix undeclared symbol warning

Make kernel with `C=2`:
drivers/macintosh/smu.c:1018:30: warning: symbol
'__smu_get_sdb_partition' was not declared. Should it be static?

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Wang Wensheng <wangwensheng4@huawei.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20200914122615.65669-1-wangwensheng4@huawei.com
drivers/macintosh/smu.c