summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortzafrir <tzafrir@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2008-08-03 11:33:31 +0000
committertzafrir <tzafrir@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2008-08-03 11:33:31 +0000
commit6a3e97ec0497cae423b3c65839dfee4ec2267d42 (patch)
tree302b121baa492c76ac087242037e8050253aba9c
parent1ed1cd38c30300b5b980f862512c96a0a4b44c2d (diff)
Fix build on kernels 2.6.2-2.6.13: class_simple_device_remove
This function only needs the device as its parameter. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@4447 5390a7c7-147a-4af0-8ec9-7488f05a26cb
-rw-r--r--zaptel-base.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/zaptel-base.c b/zaptel-base.c
index 7c55a40..fb5a52e 100644
--- a/zaptel-base.c
+++ b/zaptel-base.c
@@ -178,7 +178,7 @@ static devfs_handle_t transcode;
class_device_destroy(class, devt)
#else
#define CLASS_DEV_DESTROY(class, devt) \
- class_simple_device_remove(class, devt)
+ class_simple_device_remove(devt)
#endif
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,13)