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.
Thank you, I've changed to a 64 bits ARM and 3.14 kernel version and I was able to generate the mali.ko module but i've got a black screen and for a prior experience I think is related to kernel and client side mali drivers incompatibility and no suitable EGLConfig found. So i will generate another question for that. Thank you.