aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/linux/unslung-kernel/ppp_mppe.patch
blob: 145405b0013a57dbc0b81ecaacf3fc6c30f8c01b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
--- linux-2.4.22/drivers/net/ppp_mppe.c~	2005-03-05 00:36:26.000000000 +1030
+++ linux-2.4.22/drivers/net/ppp_mppe.c	2005-03-05 00:52:49.000000000 +1030
@@ -651,7 +651,7 @@
  *************************************************************/
 
 static int __init
-init_module(void)
+ppp_mppe_init_module(void)
 {  
     int answer = ppp_register_compressor(&ppp_mppe);
     if (answer == 0) {
@@ -662,7 +662,7 @@
      
 
 void
-cleanup_module(void)
+ppp_mppe_cleanup_module(void)
 {
     if (MOD_IN_USE) {
     	printk (KERN_INFO "MPPE module busy, remove delayed\n");
@@ -672,6 +672,6 @@
     }
 }
 
-module_init(init_module);
-module_exit(cleanup_module);
+module_init(ppp_mppe_init_module);
+module_exit(ppp_mppe_cleanup_module);