Package: sl-modem-source
Version: 2.9.9d+e-pre2
Tags: patch

This is the diff:


diff -ur sl-modem-2.9.9d+e-pre2.original/drivers/amrmo_init.c 
sl-modem-2.9.9d+e-pre2/drivers/amrmo_init.c
--- sl-modem-2.9.9d+e-pre2.original/drivers/amrmo_init.c        
2006-02-06 14:13:49.000000000 +0100
+++ sl-modem-2.9.9d+e-pre2/drivers/amrmo_init.c 2006-02-06 
14:14:22.000000000 +0100
@@ -287,7 +287,7 @@
 #define CLASS_CREATE(owner, name) class_simple_create(owner, 
name)
 static struct class_simple *amrmo_class;
 #else
-#define CLASS_DEVICE_CREATE(class, dev, device, fmt, rest) 
class_device_create(class, dev, device, fmt, rest)
+#define CLASS_DEVICE_CREATE(class, dev, device, fmt, rest) 
class_device_create(class, NULL, dev, device, fmt, rest)
 #define CLASS_DESTROY(class) class_destroy(class)
 #define CLASS_DEVICE_DESTROY(class, dev) 
class_device_destroy(class, dev)
 #define CLASS_CREATE(owner, name) class_create(owner, name)



I followed the recipe here [1] (especially the last post) and 
the modem works as expected 
when I modified amrmo_init.c.

Kind regards,
Gasper Z.


[1] 
http://www.linux-on-laptops.com/forum/showthread.php?s=c919a4241b4dfc4e92b2d20e639060a9&p=417#post417


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to