Made hysdn_proc_entry static as suggested by Sparse tool.

Signed-off-by: Rishiraj Manwatkar <manwat...@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

_______________________________________________
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Reply via email to