~ubuntu-branches/ubuntu/quantal/linux-linaro-mx51/quantal

« back to all changes in this revision

Viewing changes to drivers/staging/iio/accel/adis16240.h

  • Committer: Package Import Robot
  • Author(s): John Rigby, John Rigby
  • Date: 2011-09-26 10:44:23 UTC
  • Revision ID: package-import@ubuntu.com-20110926104423-3o58a3c1bj7x00rs
Tags: 3.0.0-1007.9
[ John Rigby ]

Enable crypto modules and remove crypto-modules from
exclude-module files
LP: #826021

Show diffs side-by-side

added added

removed removed

Lines of Context:
126
126
/**
127
127
 * struct adis16240_state - device instance specific data
128
128
 * @us:                 actual spi_device
129
 
 * @work_trigger_to_ring: bh for triggered event handling
130
 
 * @inter:              used to check if new interrupt has been triggered
131
 
 * @last_timestamp:     passing timestamp from th to bh of interrupt handler
132
129
 * @indio_dev:          industrial I/O device structure
133
130
 * @trig:               data ready trigger registered with iio
134
131
 * @tx:                 transmit buffer
137
134
 **/
138
135
struct adis16240_state {
139
136
        struct spi_device               *us;
140
 
        struct work_struct              work_trigger_to_ring;
141
 
        s64                             last_timestamp;
142
137
        struct iio_dev                  *indio_dev;
143
138
        struct iio_trigger              *trig;
144
139
        u8                              *tx;
146
141
        struct mutex                    buf_lock;
147
142
};
148
143
 
149
 
int adis16240_set_irq(struct device *dev, bool enable);
 
144
int adis16240_set_irq(struct iio_dev *indio_dev, bool enable);
150
145
 
151
146
#ifdef CONFIG_IIO_RING_BUFFER
152
147
/* At the moment triggers are only used for ring buffer