diff options
Diffstat (limited to 'drivers/net/sk98lin')
-rw-r--r-- | drivers/net/sk98lin/skge.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/sk98lin/skge.c b/drivers/net/sk98lin/skge.c index 2e72d79a143c..b18c92cb629e 100644 --- a/drivers/net/sk98lin/skge.c +++ b/drivers/net/sk98lin/skge.c | |||
@@ -235,7 +235,7 @@ static int SkDrvDeInitAdapter(SK_AC *pAC, int devNbr); | |||
235 | * Extern Function Prototypes | 235 | * Extern Function Prototypes |
236 | * | 236 | * |
237 | ******************************************************************************/ | 237 | ******************************************************************************/ |
238 | static const char SKRootName[] = "sk98lin"; | 238 | static const char SKRootName[] = "net/sk98lin"; |
239 | static struct proc_dir_entry *pSkRootDir; | 239 | static struct proc_dir_entry *pSkRootDir; |
240 | extern struct file_operations sk_proc_fops; | 240 | extern struct file_operations sk_proc_fops; |
241 | 241 | ||
@@ -5242,20 +5242,20 @@ static int __init skge_init(void) | |||
5242 | { | 5242 | { |
5243 | int error; | 5243 | int error; |
5244 | 5244 | ||
5245 | pSkRootDir = proc_mkdir(SKRootName, proc_net); | 5245 | pSkRootDir = proc_mkdir(SKRootName, NULL); |
5246 | if (pSkRootDir) | 5246 | if (pSkRootDir) |
5247 | pSkRootDir->owner = THIS_MODULE; | 5247 | pSkRootDir->owner = THIS_MODULE; |
5248 | 5248 | ||
5249 | error = pci_register_driver(&skge_driver); | 5249 | error = pci_register_driver(&skge_driver); |
5250 | if (error) | 5250 | if (error) |
5251 | proc_net_remove(SKRootName); | 5251 | remove_proc_entry(SKRootName, NULL); |
5252 | return error; | 5252 | return error; |
5253 | } | 5253 | } |
5254 | 5254 | ||
5255 | static void __exit skge_exit(void) | 5255 | static void __exit skge_exit(void) |
5256 | { | 5256 | { |
5257 | pci_unregister_driver(&skge_driver); | 5257 | pci_unregister_driver(&skge_driver); |
5258 | proc_net_remove(SKRootName); | 5258 | remove_proc_entry(SKRootName, NULL); |
5259 | 5259 | ||
5260 | } | 5260 | } |
5261 | 5261 | ||