summaryrefslogtreecommitdiffstats
path: root/main/dahdi-linux-grsec/dahdi-zaphfc2.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-08-19 12:17:57 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-08-19 12:25:16 +0000
commiteafaf07e8659fad3be7d2d274ce56de338d23e9a (patch)
treeb7a67f27c677b268b7fbe993963364de1bc521d6 /main/dahdi-linux-grsec/dahdi-zaphfc2.patch
parentdb39e00d746029b5a8b5a683be67074edb735c5e (diff)
downloadaports-eafaf07e8659fad3be7d2d274ce56de338d23e9a.tar.bz2
aports-eafaf07e8659fad3be7d2d274ce56de338d23e9a.tar.xz
main/linux-dahdi-linux-{grsec,vserver}: fix warning from zaphfc driver
Patch from tteras. ref #410
Diffstat (limited to 'main/dahdi-linux-grsec/dahdi-zaphfc2.patch')
-rw-r--r--main/dahdi-linux-grsec/dahdi-zaphfc2.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/main/dahdi-linux-grsec/dahdi-zaphfc2.patch b/main/dahdi-linux-grsec/dahdi-zaphfc2.patch
new file mode 100644
index 000000000..33ebafd99
--- /dev/null
+++ b/main/dahdi-linux-grsec/dahdi-zaphfc2.patch
@@ -0,0 +1,12 @@
+Index: dahdi-linux-2.3.0.1/drivers/dahdi/zaphfc.c
+ ===================================================================
+ --- dahdi-linux-2.3.0.1.orig/drivers/dahdi/zaphfc.c 2010-08-19 14:50:10.000000000 +0300
+ +++ dahdi-linux-2.3.0.1/drivers/dahdi/zaphfc.c 2010-08-19 14:50:44.000000000 +0300
+ @@ -676,6 +676,7 @@
+ sprintf(zthfc->span.desc, "HFC-S PCI A ISDN card %d [TE]", hfc_dev_count + 1);
+ }
+
+ + zthfc->span.owner = THIS_MODULE;
+ zthfc->span.spanconfig = zthfc_spanconfig;
+ zthfc->span.chanconfig = zthfc_chanconfig;
+ zthfc->span.startup = zthfc_startup;