[linux-dvb] dvb-ttpci oops with 2.6.12-git8 + head cvs
Jon Burgess
jburgess at uklinux.net
Sat Nov 5 18:19:34 CET 2005
syrius.ml at no-log.org wrote:
> Hi,
>
> as the subject says: I'm using 2.6.14-git8 (also happens with -git7)
> and dvb-kernel head cvs from today.
...
> [<c0103dc3>] error_code+0x4f/0x54
> [<c0235b6e>] class_device_create+0x8e/0xc0
> [<d915c517>] dvb_register_device+0x117/0x1c0 [dvb_core]
> [<d915e766>] dvb_dmxdev_init+0xf6/0x230 [dvb_core]
Seems like git8 has changed the arguments to class_device_create()
From
http://www.kernel.org/diff/diffview.cgi?file=%2Fpub%2Flinux%2Fkernel%2Fv2.6%2Fsnapshots%2Fpatch-2.6.14-git8.bz2;z=1332
-struct class_device *class_device_create(struct class *cls, dev_t devt,
+struct class_device *class_device_create(struct class *cls,
+ struct class_device *parent,
+ dev_t devt,
struct device *device, char *fmt, ...)
This patch below might work, but is completely untested. Perhaps it
should really be specifying a value for parent and who knows what else
has changed.
Jon
-------------- next part --------------
A non-text attachment was scrubbed...
Name: git8-dvb-class.patch
Type: text/x-patch
Size: 898 bytes
Desc: not available
Url : http://www.linuxtv.org/pipermail/linux-dvb/attachments/20051105/aa95aca5/git8-dvb-class.bin
More information about the linux-dvb
mailing list