summaryrefslogtreecommitdiff
path: root/package/mISDN/patches/patch-drivers_isdn_hardware_mISDN_core_h
diff options
context:
space:
mode:
authorPhil Sutter <phil.sutter@viprinet.com>2015-02-24 12:46:53 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2015-02-28 10:14:26 +0100
commit2c5a022d3e65779668f071446d80cf27bfe4c037 (patch)
tree4c06a5066bd7520b6fe0339ac82499389070697d /package/mISDN/patches/patch-drivers_isdn_hardware_mISDN_core_h
parent4b45b4b6517d76d769dafa6da23ef13aa1315388 (diff)
port packages mISDN, mISDNuser and capi4k-utils
mISDN still has some unresolved problems with sysfs object creation, to be fixed.
Diffstat (limited to 'package/mISDN/patches/patch-drivers_isdn_hardware_mISDN_core_h')
-rw-r--r--package/mISDN/patches/patch-drivers_isdn_hardware_mISDN_core_h19
1 files changed, 19 insertions, 0 deletions
diff --git a/package/mISDN/patches/patch-drivers_isdn_hardware_mISDN_core_h b/package/mISDN/patches/patch-drivers_isdn_hardware_mISDN_core_h
new file mode 100644
index 000000000..bea80f3de
--- /dev/null
+++ b/package/mISDN/patches/patch-drivers_isdn_hardware_mISDN_core_h
@@ -0,0 +1,19 @@
+ - daemonize is defined in linux/sched.h
+--- mISDN-1_1_9_2.orig/drivers/isdn/hardware/mISDN/core.h 2009-01-22 14:36:34.000000000 +0100
++++ mISDN-1_1_9_2/drivers/isdn/hardware/mISDN/core.h 2011-07-20 16:42:17.471001559 +0200
+@@ -4,6 +4,7 @@
+ *
+ */
+
++#include <linux/sched.h>
+ #include <linux/slab.h>
+ #include <linux/string.h>
+ #include <linux/mISDNif.h>
+@@ -61,6 +62,7 @@ extern mISDNinstance_t *get_instance(mIS
+
+ /* from sysfs_obj.c */
+ extern int mISDN_register_sysfs_obj(mISDNobject_t *);
++extern void mISDN_unregister_sysfs_obj(mISDNobject_t *);
+ extern int mISDN_sysfs_init(void);
+ extern void mISDN_sysfs_cleanup(void);
+