summaryrefslogtreecommitdiff
blob: 7ef955ed3aba4e53cf2b4bcc5a9048954fa9e87f (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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
diff -ur usr.orig/src/kernel-modules/fritzcapi/fritz.classic/src/main.c usr/src/kernel-modules/fritzcapi/fritz.classic/src/main.c
--- usr.orig/src/kernel-modules/fritzcapi/fritz.classic/src/main.c	2007-07-11 08:09:35.000000000 +0200
+++ usr/src/kernel-modules/fritzcapi/fritz.classic/src/main.c	2007-07-11 08:18:31.000000000 +0200
@@ -374,7 +374,7 @@
 	}
 
 #if defined (__fcpci__)	
-	if (0 == (err = pci_module_init (&fcpci_driver))) {
+	if (0 == (err = pci_register_driver (&fcpci_driver))) {
 		LOG("PCI driver registered.\n");
 		register_capi_driver (&fritz_capi_driver);
 		LOG("CAPI driver registered.\n");
diff -ur usr.orig/src/kernel-modules/fritzcapi/fritz.pci/src/main.c usr/src/kernel-modules/fritzcapi/fritz.pci/src/main.c
--- usr.orig/src/kernel-modules/fritzcapi/fritz.pci/src/main.c	2007-07-11 08:09:35.000000000 +0200
+++ usr/src/kernel-modules/fritzcapi/fritz.pci/src/main.c	2007-07-11 08:18:31.000000000 +0200
@@ -364,7 +364,7 @@
 #endif
 
 #if defined (__fcpci__)	
-	if (0 == (err = pci_module_init (&fcpci_driver))) {
+	if (0 == (err = pci_register_driver (&fcpci_driver))) {
 		LOG("PCI driver registered.\n");
 		register_capi_driver (&fritz_capi_driver);
 		LOG("CAPI driver registered.\n");
diff -ur usr.orig/src/kernel-modules/fritzcapi/fritz.pcmcia/src/main.c usr/src/kernel-modules/fritzcapi/fritz.pcmcia/src/main.c
--- usr.orig/src/kernel-modules/fritzcapi/fritz.pcmcia/src/main.c	2007-07-11 08:09:35.000000000 +0200
+++ usr/src/kernel-modules/fritzcapi/fritz.pcmcia/src/main.c	2007-07-11 08:18:31.000000000 +0200
@@ -363,7 +363,7 @@
 #endif
 
 #if defined (__fcpci__)	
-	if (0 == (err = pci_module_init (&fcpci_driver))) {
+	if (0 == (err = pci_register_driver (&fcpci_driver))) {
 		LOG("PCI driver registered.\n");
 		register_capi_driver (&fritz_capi_driver);
 		LOG("CAPI driver registered.\n");
diff -ur usr.orig/src/kernel-modules/fritzcapi/fritz.pnp/src/main.c usr/src/kernel-modules/fritzcapi/fritz.pnp/src/main.c
--- usr.orig/src/kernel-modules/fritzcapi/fritz.pnp/src/main.c	2007-07-11 08:09:35.000000000 +0200
+++ usr/src/kernel-modules/fritzcapi/fritz.pnp/src/main.c	2007-07-11 08:18:31.000000000 +0200
@@ -375,7 +375,7 @@
 	}
 
 #if defined (__fcpci__)	
-	if (0 == (err = pci_module_init (&fcpci_driver))) {
+	if (0 == (err = pci_register_driver (&fcpci_driver))) {
 		LOG("PCI driver registered.\n");
 		register_capi_driver (&fritz_capi_driver);
 		LOG("CAPI driver registered.\n");