Re: [PATCH 3/3] staging:iio:adis16350 add dummy ring functions for no ring build case

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 28 Jul 2010 22:13:40 +0100
Jonathan Cameron <jic23@xxxxxxxxx> wrote:

> On 07/28/10 20:08, Jonathan Cameron wrote:
> > Signed-off-by: Jonathan Cameron <jic23@xxxxxxxxx>
> > ---
> 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_ */
--
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


[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux