diff options
author | Markus Pargmann <mpa@pengutronix.de> | 2015-09-21 12:55:15 +0200 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2015-10-03 13:06:21 +0200 |
commit | 55637c38377a301cd0768cee73021e43d05de543 (patch) | |
tree | a05960293619bd904f79cdc8344f53d9d804f2b2 /drivers/iio/accel/bmc150-accel.h | |
parent | iio: bcm150: Remove i2c_client from private data (diff) | |
download | linux-55637c38377a301cd0768cee73021e43d05de543.tar.xz linux-55637c38377a301cd0768cee73021e43d05de543.zip |
iio: bmc150: Split the driver into core and i2c
Signed-off-by: Markus Pargmann <mpa@pengutronix.de>
Tested-by: Irina Tirdea <irina.tirdea@intel.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio/accel/bmc150-accel.h')
-rw-r--r-- | drivers/iio/accel/bmc150-accel.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/drivers/iio/accel/bmc150-accel.h b/drivers/iio/accel/bmc150-accel.h new file mode 100644 index 000000000000..ba0335987f94 --- /dev/null +++ b/drivers/iio/accel/bmc150-accel.h @@ -0,0 +1,20 @@ +#ifndef _BMC150_ACCEL_H_ +#define _BMC150_ACCEL_H_ + +struct regmap; + +enum { + bmc150, + bmi055, + bma255, + bma250e, + bma222e, + bma280, +}; + +int bmc150_accel_core_probe(struct device *dev, struct regmap *regmap, int irq, + const char *name, bool block_supported); +int bmc150_accel_core_remove(struct device *dev); +extern const struct dev_pm_ops bmc150_accel_pm_ops; + +#endif /* _BMC150_ACCEL_H_ */ |