Need some help porting IIO based driver from 3.4 to 3.16 kernel

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi

I wanted to ask for some advice/pointers for porting this IIO based
"imu" driver:
https://android.googlesource.com/kernel/msm/+/android-msm-hammerhead-3.4-kk-fr2/drivers/staging/iio/imu/inv_mpu

to a 3.16 kernel.

I'm struggling to make sense of the header files in that the header
names appear to have changed and the definitions are completely
different.

My compiles bombs with this message:

  CC [M]  drivers/iio/imu/inv_mpu/inv_mpu_core.o
In file included from drivers/iio/imu/inv_mpu/inv_mpu_core.c:31:0:
drivers/iio/imu/inv_mpu/inv_mpu_iio.h:23:17: fatal error: iio.h: No
such file or directory
 #include "iio.h"


But my kernel has this "iio" header file:
[bruce@build iio]$ pwd
/home/bruce/buildroot/output/build/linux-3.16.2/drivers/iio
[bruce@build iio]$ ls -l iio_core.h
-rw-rw-r--. 1 bruce bruce 2155 Sep  6 00:37 iio_core.h
[bruce@build iio]$


So I'm guessing "iio.h" has evolved and is now "iio_core.h"? ....but
they seem so different?


Any help/pointers much appreciated!!!


Thanks
Bruce
--
To unsubscribe from this list: send the line "unsubscribe linux-iio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux