[Freedreno] iMX6 build issue on Mainline Kernel

Gajjar, Akash Akash_Gajjar at mentor.com
Wed Jan 2 08:02:52 UTC 2019


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/freedreno/attachments/20190102/cef6f731/attachment.html>


More information about the Freedreno mailing list