summaryrefslogtreecommitdiff
path: root/include/dahdi/kernel.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/dahdi/kernel.h')
-rw-r--r--include/dahdi/kernel.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/dahdi/kernel.h b/include/dahdi/kernel.h
index 2f23f19..3bf11f1 100644
--- a/include/dahdi/kernel.h
+++ b/include/dahdi/kernel.h
@@ -54,6 +54,8 @@
#include <linux/skbuff.h>
#include <linux/interrupt.h>
#endif
+#include <linux/device.h>
+#include <linux/sysfs.h>
#include <linux/poll.h>
@@ -891,6 +893,7 @@ struct dahdi_device {
const char *manufacturer;
const char *location;
const char *devicetype;
+ struct device dev;
};
struct dahdi_span {
@@ -940,6 +943,7 @@ struct dahdi_span {
struct dahdi_device *parent;
struct list_head device_node;
+ struct device *span_device;
};
struct dahdi_transcoder_channel {