summaryrefslogtreecommitdiff
path: root/drivers/dahdi/dahdi-sysfs.h
diff options
context:
space:
mode:
authorTzafrir Cohen <tzafrir.cohen@xorcom.com>2012-02-22 12:11:48 +0000
committerTzafrir Cohen <tzafrir.cohen@xorcom.com>2012-02-22 12:11:48 +0000
commitf833e5d8b99b0d8268060640f21cc4190ce395da (patch)
tree7c9a4cd4d69670c2b82f993a0679a9a5a3757a79 /drivers/dahdi/dahdi-sysfs.h
parent2d94a303ec350feb13be9f92b0e726f4236945e6 (diff)
sysfs channels: dahdi-sysfs-chan.c
* Move sysfs class and device files management into dahdi-sysfs-chan.c * This does not change functionality, just a preparation for later code cleanups and improvements. Signed-off-by: Oron Peled <oron.peled@xorcom.com> Acked-by: Tzafrir Cohen <tzafrir.cohen@xorcom.com> Acked-by: Shaun Ruffell <sruffell@digium.com> git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@10463 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'drivers/dahdi/dahdi-sysfs.h')
-rw-r--r--drivers/dahdi/dahdi-sysfs.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/dahdi/dahdi-sysfs.h b/drivers/dahdi/dahdi-sysfs.h
index 92afbf4..41e1786 100644
--- a/drivers/dahdi/dahdi-sysfs.h
+++ b/drivers/dahdi/dahdi-sysfs.h
@@ -95,4 +95,12 @@ enum kobject_action {
class_simple_device_remove(class, devt)
#endif
+/* Global */
+int __init dahdi_sysfs_chan_init(const struct file_operations *fops);
+void dahdi_sysfs_chan_exit(void);
+
+/* Channel Handling */
+int chan_sysfs_create(struct dahdi_chan *chan);
+void chan_sysfs_remove(struct dahdi_chan *chan);
+
#endif /* DAHDI_SYSFS_H */