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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



	Made hysdn_proc_entry static as suggested by Sparse tool.

Signed-off-by: Rishiraj Manwatkar <manwatkar@xxxxxxxxxxx>
---
 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
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel



[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux