Linux IIO development
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@linux-foundation.org>
To: Jonathan Cameron <jic23@cam.ac.uk>
Cc: Greg KH <greg@kroah.com>, Randy Dunlap <randy.dunlap@oracle.com>,
	linux-iio@vger.kernel.org
Subject: Re: [PATCH 3/3] staging:iio:adis16350 add dummy ring functions for no ring build case
Date: Wed, 28 Jul 2010 16:19:16 -0700	[thread overview]
Message-ID: <20100728161916.192fc5d3.akpm@linux-foundation.org> (raw)
In-Reply-To: <4C509D84.9090408@cam.ac.uk>

On Wed, 28 Jul 2010 22:13:40 +0100
Jonathan Cameron <jic23@cam.ac.uk> wrote:

> On 07/28/10 20:08, Jonathan Cameron wrote:
> > Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
> > ---
> Sorry these should both be static.
> Should have run sparse before throwing these out...

static inline, actually.

> >  drivers/staging/iio/imu/adis16350.h |    8 ++++++++
> >  1 files changed, 8 insertions(+), 0 deletions(-)
> > 
> > diff --git a/drivers/staging/iio/imu/adis16350.h b/drivers/staging/iio/imu/adis16350.h
> > index 738deba..0d2eda8 100644
> > --- a/drivers/staging/iio/imu/adis16350.h
> > +++ b/drivers/staging/iio/imu/adis16350.h
> > @@ -165,5 +165,13 @@ adis16350_read_data_from_ring(struct device *dev,
> >  	return 0;
> >  }
> >  
> > +int adis16350_configure_ring(struct iio_dev *indio_dev)
> > +{
> > +	return 0;
> > +}
> > +
> > +void adis16350_unconfigure_ring(struct iio_dev *indio_dev)
> > +{
> > +}
> >  #endif /* CONFIG_IIO_RING_BUFFER */
> >  #endif /* SPI_ADIS16350_H_ */

      reply	other threads:[~2010-07-28 23:19 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-28 19:08 [PATCH 3/3] staging:iio:adis16350 add dummy ring functions for no ring build case Jonathan Cameron
2010-07-28 21:13 ` Jonathan Cameron
2010-07-28 23:19   ` Andrew Morton [this message]

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=20100728161916.192fc5d3.akpm@linux-foundation.org \
    --to=akpm@linux-foundation.org \
    --cc=greg@kroah.com \
    --cc=jic23@cam.ac.uk \
    --cc=linux-iio@vger.kernel.org \
    --cc=randy.dunlap@oracle.com \
    /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