Skip to content

Commit f7086da

Browse files
committed
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 <Sanket.Goswami@amd.com> Reported-by: kernel test robot <lkp@intel.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com> Link: https://lore.kernel.org/r/20220117112644.260168-1-hdegoede@redhat.com
1 parent 17da2d5 commit f7086da

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/platform/x86/amd-pmc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ static int amd_pmc_stb_debugfs_release(struct inode *inode, struct file *filp)
226226
return 0;
227227
}
228228

229-
const struct file_operations amd_pmc_stb_debugfs_fops = {
229+
static const struct file_operations amd_pmc_stb_debugfs_fops = {
230230
.owner = THIS_MODULE,
231231
.open = amd_pmc_stb_debugfs_open,
232232
.read = amd_pmc_stb_debugfs_read,

0 commit comments

Comments
 (0)