Hello, > >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" iio moved out of staging after 3.4 try #include <linux/iio/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? > iio.h is now in include/linux/iio with a lot of the other headers... > > > > > > > > > >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 > > -- Peter Meerwald +43-664-2444418 (mobile) -- 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