aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/isdn/hysdn/hysdn_procconf.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/isdn/hysdn/hysdn_procconf.c')
-rw-r--r--drivers/isdn/hysdn/hysdn_procconf.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/isdn/hysdn/hysdn_procconf.c b/drivers/isdn/hysdn/hysdn_procconf.c
index dc477e0aab0e..27d890b48f88 100644
--- a/drivers/isdn/hysdn/hysdn_procconf.c
+++ b/drivers/isdn/hysdn/hysdn_procconf.c
@@ -16,6 +16,7 @@
16#include <linux/proc_fs.h> 16#include <linux/proc_fs.h>
17#include <linux/pci.h> 17#include <linux/pci.h>
18#include <linux/smp_lock.h> 18#include <linux/smp_lock.h>
19#include <net/net_namespace.h>
19 20
20#include "hysdn_defs.h" 21#include "hysdn_defs.h"
21 22
@@ -392,7 +393,7 @@ hysdn_procconf_init(void)
392 hysdn_card *card; 393 hysdn_card *card;
393 unsigned char conf_name[20]; 394 unsigned char conf_name[20];
394 395
395 hysdn_proc_entry = proc_mkdir(PROC_SUBDIR_NAME, proc_net); 396 hysdn_proc_entry = proc_mkdir(PROC_SUBDIR_NAME, init_net.proc_net);
396 if (!hysdn_proc_entry) { 397 if (!hysdn_proc_entry) {
397 printk(KERN_ERR "HYSDN: unable to create hysdn subdir\n"); 398 printk(KERN_ERR "HYSDN: unable to create hysdn subdir\n");
398 return (-1); 399 return (-1);
@@ -437,5 +438,5 @@ hysdn_procconf_release(void)
437 card = card->next; /* point to next card */ 438 card = card->next; /* point to next card */
438 } 439 }
439 440
440 remove_proc_entry(PROC_SUBDIR_NAME, proc_net); 441 remove_proc_entry(PROC_SUBDIR_NAME, init_net.proc_net);
441} 442}