#include <linux/delay.h>
#include <linux/mutex.h>
#include <linux/device.h>
#include <linux/kernel.h>
#include <linux/spi/spi.h>
#include <linux/slab.h>
#include <linux/sysfs.h>
#include <linux/module.h>
#include <linux/iio/iio.h>
#include <linux/iio/sysfs.h>
#include "adis16220.h"
Go to the source code of this file.
|
#define | DRIVER_NAME "adis16220" |
|
#define | IIO_DEV_ATTR_CAPTURE(_store) IIO_DEVICE_ATTR(capture, S_IWUSR, NULL, _store, 0) |
|
#define | IIO_DEV_ATTR_CAPTURE_COUNT(_mode, _show, _store, _addr) IIO_DEVICE_ATTR(capture_count, _mode, _show, _store, _addr) |
|
#define DRIVER_NAME "adis16220" |
#define IIO_DEV_ATTR_CAPTURE_COUNT |
( |
|
_mode, |
|
|
|
_show, |
|
|
|
_store, |
|
|
|
_addr |
|
) |
| IIO_DEVICE_ATTR(capture_count, _mode, _show, _store, _addr) |
MODULE_ALIAS |
( |
"spi:adis16220" |
| ) |
|
MODULE_DESCRIPTION |
( |
"Analog Devices ADIS16220 Digital Vibration Sensor" |
| ) |
|
MODULE_LICENSE |
( |
"GPL v2" |
| ) |
|
module_spi_driver |
( |
adis16220_driver |
| ) |
|