Skip to content

Commit 6b157b4

Browse files
committed
ipmi:ls2k: Make ipmi_ls2k_platform_driver static
No need for it to be global. Reported-by: kernel test robot <lkp@intel.com> Closes: https://lore.kernel.org/oe-kbuild-all/202601170753.3zDBerGP-lkp@intel.com/ Signed-off-by: Corey Minyard <corey@minyard.net>
1 parent 9f235cc commit 6b157b4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/char/ipmi/ipmi_si_ls2k.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ static void ipmi_ls2k_remove(struct platform_device *pdev)
168168
ipmi_si_remove_by_dev(&pdev->dev);
169169
}
170170

171-
struct platform_driver ipmi_ls2k_platform_driver = {
171+
static struct platform_driver ipmi_ls2k_platform_driver = {
172172
.driver = {
173173
.name = "ls2k-ipmi-si",
174174
},

0 commit comments

Comments
 (0)