platform/x86/dell-wmi-sysman: Make wmi_sysman_kobj_sysfs_ops static
authorZou Wei <zou_wei@huawei.com>
Thu, 29 Oct 2020 11:39:41 +0000 (19:39 +0800)
committerHans de Goede <hdegoede@redhat.com>
Tue, 3 Nov 2020 09:30:10 +0000 (10:30 +0100)
commit76adf0df04c294d2e97981ec7310f93f35dfa6ee
tree39442881cab19563cab6203af307890b595832aa
parent924ad325f55ef7d2b5f377cda7885136c00604ec
platform/x86/dell-wmi-sysman: Make wmi_sysman_kobj_sysfs_ops static

Fix the following sparse warning:

drivers/platform/x86/dell-wmi-sysman/sysman.c:258:24: warning:
symbol 'wmi_sysman_kobj_sysfs_ops' was not declared.
Should it be static?

wmi_sysman_kobj_sysfs_ops has only call within sysman.c
It should be static

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Zou Wei <zou_wei@huawei.com>
Link: https://lore.kernel.org/r/1603971581-64135-1-git-send-email-zou_wei@huawei.com
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
drivers/platform/x86/dell-wmi-sysman/sysman.c