[PATCH] staging: isdn: To make hysdn_proc_entry static.

Rishiraj Manwatkar manwatkar at outlook.com
Sun Jun 9 00:24:59 UTC 2019


	Made hysdn_proc_entry static as suggested by Sparse tool.

Signed-off-by: Rishiraj Manwatkar <manwatkar at outlook.com>
---
 drivers/staging/isdn/hysdn/hysdn_procconf.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/isdn/hysdn/hysdn_procconf.c b/drivers/staging/isdn/hysdn/hysdn_procconf.c
index 73079213ec94..3d12c058a6f1 100644
--- a/drivers/staging/isdn/hysdn/hysdn_procconf.c
+++ b/drivers/staging/isdn/hysdn/hysdn_procconf.c
@@ -349,7 +349,7 @@ static const struct file_operations conf_fops =
 /*****************************/
 /* hysdn subdir in /proc/net */
 /*****************************/
-struct proc_dir_entry *hysdn_proc_entry = NULL;
+static struct proc_dir_entry *hysdn_proc_entry = NULL;
 
 /*******************************************************************************/
 /* hysdn_procconf_init is called when the module is loaded and after the cards */
-- 
2.17.1



More information about the devel mailing list