From: Jonathan Cameron <jic23@kernel.org>
To: bruce bushby <bruce.bushby@gmail.com>, linux-iio@vger.kernel.org
Subject: Re: Need some help porting IIO based driver from 3.4 to 3.16 kernel
Date: Sun, 14 Sep 2014 12:38:22 +0100 [thread overview]
Message-ID: <25e65d5c-2bfc-449c-93c4-111c3c766922@email.android.com> (raw)
In-Reply-To: <CAHvj1qauaxANPHaZo_WoeF7pSmXDzJ0YynOoW-Wvz6AvMEF-Jw@mail.gmail.com>
On September 14, 2014 12:21:25 PM GMT+01:00, bruce bushby <bruce.bushby@gmail.com> wrote:
>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?
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@vger.kernel.org
>More majordomo info at http://vger.kernel.org/majordomo-info.html
--
Sent from my Android phone with K-9 Mail. Please excuse my brevity.
next prev parent reply other threads:[~2014-09-14 11:38 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
2014-09-14 20:43 ` Peter Meerwald
2014-09-24 15:16 ` bruce bushby
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=25e65d5c-2bfc-449c-93c4-111c3c766922@email.android.com \
--to=jic23@kernel.org \
--cc=bruce.bushby@gmail.com \
--cc=linux-iio@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox