]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
ipmi:ls2k: Make ipmi_ls2k_platform_driver static
authorCorey Minyard <corey@minyard.net>
Fri, 16 Jan 2026 23:22:01 +0000 (17:22 -0600)
committerCorey Minyard <corey@minyard.net>
Wed, 4 Feb 2026 03:06:19 +0000 (21:06 -0600)
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>
drivers/char/ipmi/ipmi_si_ls2k.c

index 45442c257efdbe8a0951d27fa27a11d1821e12db..4c1da80f256c1f2cd166fc5bfe61e2f2c68415df 100644 (file)
@@ -168,7 +168,7 @@ static void ipmi_ls2k_remove(struct platform_device *pdev)
        ipmi_si_remove_by_dev(&pdev->dev);
 }
 
-struct platform_driver ipmi_ls2k_platform_driver = {
+static struct platform_driver ipmi_ls2k_platform_driver = {
        .driver = {
                .name = "ls2k-ipmi-si",
        },