public inbox for linux-iio@vger.kernel.org
 help / color / mirror / Atom feed
* Need some help porting IIO based driver from 3.4 to 3.16 kernel
@ 2014-09-14 11:21 bruce bushby
  2014-09-14 11:38 ` Jonathan Cameron
  0 siblings, 1 reply; 4+ messages in thread
From: bruce bushby @ 2014-09-14 11:21 UTC (permalink / raw)
  To: linux-iio

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-09-24 15:16 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-14 11:21 Need some help porting IIO based driver from 3.4 to 3.16 kernel bruce bushby
2014-09-14 11:38 ` Jonathan Cameron
2014-09-14 20:43   ` Peter Meerwald
2014-09-24 15:16     ` bruce bushby

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox