Reported-by: kernel test robot <l...@intel.com> Signed-off-by: kernel test robot <l...@intel.com> --- mdio-debugfs.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/net/phy/mdio-debugfs.c b/drivers/net/phy/mdio-debugfs.c index abed40052c20a1d..f1c9a3c604714c2 100644 --- a/drivers/net/phy/mdio-debugfs.c +++ b/drivers/net/phy/mdio-debugfs.c @@ -151,7 +151,7 @@ static unsigned int mdio_debug_poll(struct file *file, poll_table *wait) return data->value == -1 ? POLLOUT : POLLIN; } -struct file_operations mdio_debug_fops = { +static struct file_operations mdio_debug_fops = { .owner = THIS_MODULE, .open = mdio_debug_open, .release = mdio_debug_release, @@ -181,7 +181,7 @@ void mdio_debugfs_remove(struct mii_bus *bus) } EXPORT_SYMBOL_GPL(mdio_debugfs_remove); -int __init mdio_debugfs_init(void) +static int __init mdio_debugfs_init(void) { mdio_debugfs_dentry = debugfs_create_dir("mdio", NULL); @@ -189,7 +189,7 @@ int __init mdio_debugfs_init(void) } module_init(mdio_debugfs_init); -void __exit mdio_debugfs_exit(void) +static void __exit mdio_debugfs_exit(void) { debugfs_remove(mdio_debugfs_dentry); }