From: Michael Hennerich <michael.hennerich@analog.com>
To: "greg@kroah.com" <greg@kroah.com>
Cc: "linux-iio@vger.kernel.org" <linux-iio@vger.kernel.org>,
"device-drivers-devel@blackfin.uclinux.org"
<device-drivers-devel@blackfin.uclinux.org>,
Drivers <Drivers@analog.com>, "jic23@cam.ac.uk" <jic23@cam.ac.uk>
Subject: Re: [PATCH 1/2] iio: core: deconstify members of struct iio_chan_spec
Date: Wed, 20 Jul 2011 15:06:28 +0200 [thread overview]
Message-ID: <4E26D2D4.5010407@analog.com> (raw)
In-Reply-To: <1311166990-32310-2-git-send-email-michael.hennerich@analog.com>
Hi Greg,
sorry for the noise - please ignore the duplicated patches without
Jonathan's Acked-by...
On 07/20/2011 03:03 PM, michael.hennerich@analog.com wrote:
> From: Michael Hennerich<michael.hennerich@analog.com>
>
> Allow dynamic allocation and population of channel spec.
>
> Signed-off-by: Michael Hennerich<michael.hennerich@analog.com>
> ---
> drivers/staging/iio/iio.h | 6 +++---
> 1 files changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/drivers/staging/iio/iio.h b/drivers/staging/iio/iio.h
> index 7a6ce4d..a9d7730 100644
> --- a/drivers/staging/iio/iio.h
> +++ b/drivers/staging/iio/iio.h
> @@ -121,9 +121,9 @@ struct iio_chan_spec {
> u8 storagebits;
> u8 shift;
> } scan_type;
> - const long info_mask;
> - const long event_mask;
> - const char *extend_name;
> + long info_mask;
> + long event_mask;
> + char *extend_name;
> unsigned processed_val:1;
> unsigned modified:1;
> unsigned indexed:1;
--
Greetings,
Michael
--
Analog Devices GmbH Wilhelm-Wagenfeld-Str. 6 80807 Muenchen
Sitz der Gesellschaft: Muenchen; Registergericht: Muenchen HRB 40368;
Geschaeftsfuehrer:Dr.Carsten Suckrow, Thomas Wessel, William A. Martin,
Margaret Seif
next prev parent reply other threads:[~2011-07-20 13:06 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-20 13:03 [PATCH 1/2] iio: core: deconstify members of struct iio_chan_spec michael.hennerich
2011-07-20 13:03 ` michael.hennerich
2011-07-20 13:06 ` Michael Hennerich [this message]
2011-07-20 13:03 ` [PATCH 2/2] iio: adc: New driver for AD7280A Lithium Ion Battery Monitoring System michael.hennerich
2011-07-20 13:03 ` michael.hennerich
-- strict thread matches above, loose matches on Subject: below --
2011-07-15 12:59 [PATCH 1/2] iio: core: deconstify members of struct iio_chan_spec michael.hennerich
2011-07-15 13:19 ` Jonathan Cameron
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=4E26D2D4.5010407@analog.com \
--to=michael.hennerich@analog.com \
--cc=Drivers@analog.com \
--cc=device-drivers-devel@blackfin.uclinux.org \
--cc=greg@kroah.com \
--cc=jic23@cam.ac.uk \
--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