Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[linux-dvb] new driver problem
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
hi,
when i try to compile the drivers from CVS-HEAD i get the following
warning:
saa7146_core.c: In function `saa7146_core_command':
saa7146_core.c:373: warning: implicit declaration of function
`remap_page_range'
i think there must be:
#include <linux/mm.h>
#include <asm/pgtable.h>
#include <asm/page.h>
in saa7146_core.c
also there should be:
page = kvirt_to_pa(pos);
if (remap_page_range(start, page,
PAGE_SIZE, PAGE_SHARED))
the 'vma' is removed!!!
in compat.h the define of remap_page_range should be removed.
then there is no more warning and you can insmod the module..
without these changes, an insmod is not possible..
i don't know if the changes are good.. can someone please check this???
joerg
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE9zNazSPOsGF+KA+MRAuY7AJwKlZuNueKAcD5K1fPeTIY+vElR/wCeJqgS
4vVGGUm7tKV1xz4ohk0d+Hs=
=5hbQ
-----END PGP SIGNATURE-----
--
Info:
To unsubscribe send a mail to listar@linuxtv.org with "unsubscribe linux-dvb" as subject.
Home |
Main Index |
Thread Index