]> git.baikalelectronics.ru Git - kernel.git/commit
bus: imx-weim: make symbol 'weim_of_notifier' static
authorWei Yongjun <weiyongjun1@huawei.com>
Sat, 26 Feb 2022 09:43:33 +0000 (09:43 +0000)
committerShawn Guo <shawnguo@kernel.org>
Mon, 11 Apr 2022 08:04:53 +0000 (16:04 +0800)
commit64f2142e83c0bea2f8810b5a221c2edec4905fcf
treee7b38737d578befa264e08a2412975f71e3e416e
parent16f9e01ea5e9ea0440dd091c68e9b1fd5ed65eef
bus: imx-weim: make symbol 'weim_of_notifier' static

The sparse tool complains as follows:

drivers/bus/imx-weim.c:373:23: warning:
 symbol 'weim_of_notifier' was not declared. Should it be static?

This symbol is not used outside of imx-weim.c, so marks it static.

Fixes: 6003bcd38a15 ("bus: imx-weim: add DT overlay support for WEIM bus")
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
drivers/bus/imx-weim.c