From 6a3e97ec0497cae423b3c65839dfee4ec2267d42 Mon Sep 17 00:00:00 2001 From: tzafrir Date: Sun, 3 Aug 2008 11:33:31 +0000 Subject: 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 --- zaptel-base.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'zaptel-base.c') 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) -- cgit v1.2.3