From: Hans de Goede Date: Mon, 17 Jan 2022 11:26:43 +0000 (+0100) Subject: platform/x86: amd-pmc: Make amd_pmc_stb_debugfs_fops static X-Git-Tag: v6.1-rc5~1728^2~64 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f7086daab3b540c89951b9b4c00fc49111f7cfa6;p=platform%2Fkernel%2Flinux-starfive.git platform/x86: amd-pmc: Make amd_pmc_stb_debugfs_fops static amd_pmc_stb_debugfs_fops is not used outside of amd-pmc.c, make it static. Cc: Sanket Goswami Reported-by: kernel test robot Signed-off-by: Hans de Goede Link: https://lore.kernel.org/r/20220117112644.260168-1-hdegoede@redhat.com --- diff --git a/drivers/platform/x86/amd-pmc.c b/drivers/platform/x86/amd-pmc.c index f794343..85b6802 100644 --- a/drivers/platform/x86/amd-pmc.c +++ b/drivers/platform/x86/amd-pmc.c @@ -226,7 +226,7 @@ static int amd_pmc_stb_debugfs_release(struct inode *inode, struct file *filp) return 0; } -const struct file_operations amd_pmc_stb_debugfs_fops = { +static const struct file_operations amd_pmc_stb_debugfs_fops = { .owner = THIS_MODULE, .open = amd_pmc_stb_debugfs_open, .read = amd_pmc_stb_debugfs_read,