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