summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKevin P. Fleming <kpfleming@digium.com>2008-05-22 12:18:11 +0000
committerKevin P. Fleming <kpfleming@digium.com>2008-05-22 12:18:11 +0000
commit51d0dce98f109bef2bfa47feb3810c13f97fef13 (patch)
tree635b8bb5a5281b57e3c8769a33f2bbfa984c534e /include
parent4d28bda862b8f971e103d6667cf1be5bd84dc8c7 (diff)
and with one fell swoop... devfs support disappears
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4326 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'include')
-rw-r--r--include/dahdi/kernel.h20
1 files changed, 0 insertions, 20 deletions
diff --git a/include/dahdi/kernel.h b/include/dahdi/kernel.h
index 8f0a51d..5551a30 100644
--- a/include/dahdi/kernel.h
+++ b/include/dahdi/kernel.h
@@ -80,14 +80,6 @@
#include "ecdis.h"
#include "fasthdlc.h"
-#ifdef CONFIG_DEVFS_FS
-#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,0)
-#include <linux/devfs_fs_kernel.h>
-#else
-#undef CONFIG_DEVFS_FS
-//#warning "DAHDI doesn't support DEVFS in post 2.4 kernels. Disabling DEVFS in DAHDI"
-#endif
-#endif /* CONFIG_DEVFS_FS */
#endif /* __KERNEL__ */
#include <linux/types.h>
@@ -1247,9 +1239,6 @@ struct dahdi_tone_state {
struct dahdi_chardev {
const char *name;
__u8 minor;
-#ifdef CONFIG_DEVFS_FS
- devfs_handle_t devfs_handle;
-#endif
};
int dahdi_register_chardev(struct dahdi_chardev *dev);
@@ -1505,11 +1494,6 @@ struct dahdi_chan {
#else
unsigned char *lin2x;
#endif
-
-#ifdef CONFIG_DEVFS_FS
- devfs_handle_t fhandle; /* File handle in devfs for the channel */
- devfs_handle_t fhandle_symlink;
-#endif /* CONFIG_DEVFS_FS */
};
/* defines for transmit signalling */
@@ -1685,10 +1669,6 @@ struct dahdi_span {
int spanno; /* Span number for DAHDI */
int offset; /* Offset within a given card */
int lastalarms; /* Previous alarms */
-
-#ifdef CONFIG_DEVFS_FS
- devfs_handle_t dhandle; /* Directory name */
-#endif
/* If the watchdog detects no received data, it will call the
watchdog routine */
int (*watchdog)(struct dahdi_span *span, int cause);