]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 10 Apr 2025 12:39:12 +0000 (14:39 +0200)
commita4f38bc600f3dc6b4144a7907d6dd563ecdc65e6
tree7b1860c74380b997c0c98889aba6c1b50474dbca
parent4f42478af663725db424ac60f9f81c68c8ba07b7
platform/x86: lenovo-yoga-tab2-pro-1380-fastcharger: Make symbol static

[ Upstream commit 886ca11a0c70efe5627a18557062e8a44370d78f ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/platform/x86/lenovo-yoga-tab2-pro-1380-fastcharger.c