Skip to contentSkip to conversation

iMX6 build issue on Mainline Kernel

DISCUSSION Gajjar, Akash 1 participant 1 message Jan 2, 2019 Arm Qualcomm mailing list

lore
Share & tools
lore
#0 lore raw

Hi Rob, Jonathan,

I was compiling mainline kernel for imx6 SOC based board with imx_v6_v7_defconfig and found it is failing. It shows below error.

./include/linux/qcom_scm.h:73:10: error: 'ENODEV' undeclared (first use in this function)
return -ENODEV;

Digging inside I found commit ID e6f6d63e adds SOC_IMX5, which eventually breaks build for imx6 platform config. adding header #include <uapi/asm-generic/errno-base.h> in qcom_scm.h solves problem.

Please correct me that is it right way to resolve and upstream this fix.

Thanks,

Akash Gajjar

_______________________________________________
Freedreno mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/freedreno