Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[linux-dvb] Re: latest cvs



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

hi,

i think it's not a problem of modutils or any other stuff..

have you read my mail subjected "new driver problem" ?

i had the same problem, and found a way to fix it. please look in my other
mail.

there is a definition in driver/compat.h and a use of this define in
driver/av7110/saa7146_core.c (line 372 i think)

the problem is, that the define needs 5 arguments and the define in
/usr/src/`uname-r`/include/linux/mm.h only needs 4 arguments..
thats why you get unresolverd symbels when trying to load the module..

i commented out the definition in driver/compat.h and added the following
includes to driver/av7110/saa7146_core.c :
#include <asm/page.h>
#include <asm/pgtable.h>
#include <linux/mm.h>

also i removed the first argument (named 'vma') in the remap_page_range
function in driver/av7110/saa7146_core.c

after that it compiles without any warnings and get cleanly insmoded..

don't know if this is the best and the right way, but it works good for
me.

i think holger should check this on monday..

regards
joerg
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE9zklVSPOsGF+KA+MRAgJwAJ0RB9xMA6ZQd4aUeoL8/mwM1J9wSgCfUCOa
Ii2haMtDkQFSomS68tf8ERI=
=nZb2
-----END PGP SIGNATURE-----




-- 
Info:
To unsubscribe send a mail to listar@linuxtv.org with "unsubscribe linux-dvb" as subject.



Home | Main Index | Thread Index