platform/x86: lenovo-yoga-tab2-pro-1380-fastcharger: Make symbol static
authorIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Tue, 4 Mar 2025 16:06:38 +0000 (18:06 +0200)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Wed, 5 Mar 2025 11:57:10 +0000 (13:57 +0200)
commit886ca11a0c70efe5627a18557062e8a44370d78f
tree579065317175bcbf9793571aecd67bf50c04cc5d
parent61250669eaa9fd480e0f1c3cec107924b6a06b46
platform/x86: lenovo-yoga-tab2-pro-1380-fastcharger: Make symbol static

Sparse reports:

lenovo-yoga-tab2-pro-1380-fastcharger.c:222:29: warning: symbol
'yt2_1380_fc_serdev_driver' was not declared. Should it be static?

Fix that by making the symbol static.

Fixes: b2ed33e8d486a ("platform/x86: Add  lenovo-yoga-tab2-pro-1380-fastcharger driver")
Reviewed-by: Mario Limonciello <mario.limonciello@amd.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/20250304160639.4295-1-ilpo.jarvinen@linux.intel.com
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
drivers/platform/x86/lenovo-yoga-tab2-pro-1380-fastcharger.c