This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Recompiling Mali drivers for an Android image

Hi, I'm trying to compile the mali drivers for an Amlogic armv7 kernel. But when i try to make modules I've got this error message :

from drivers/amlogic/gpu/mali/platform/meson_bu/meson_main2.c:14:

drivers/amlogic/gpu/mali/platform/meson_bu/meson_main2.c:35:39: error: ‘S_IRUSR’ undeclared here (not in a function)

module_param(mali_gp_reset_fail, int, S_IRUSR | S_IWUSR | S_IWGRP | S_IRGRP | S_IROTH); /* rw-rw-r-- */

Do you know if I have to include other header?. Thank you.