summaryrefslogtreecommitdiff
path: root/drivers/iio/accel/bmc150-accel.h
diff options
context:
space:
mode:
authorIrina Tirdea <irina.tirdea@intel.com>2016-03-29 15:21:21 +0300
committerJonathan Cameron <jic23@kernel.org>2016-04-03 11:24:52 +0100
commit486294f184c05cff116160bb731cbb679f047621 (patch)
treed726bd32492c72e7afd96e53ad90182ec1547c7d /drivers/iio/accel/bmc150-accel.h
parentfa4c9c93e93f429bb8a8b01c53d54d6bd53a3028 (diff)
downloadlwn-486294f184c05cff116160bb731cbb679f047621.tar.gz
lwn-486294f184c05cff116160bb731cbb679f047621.zip
iio: accel: bmc150: use common definition for regmap conf
bmc150_i2c_regmap_conf is defined three times (in bmc150-accel-core.c, bmc150-accel-i2c.c and and bmc150-accel-spi.c), although the definition is the same. Use one common definition for bmc150_i2c_regmap_conf in all included files. Signed-off-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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/iio/accel/bmc150-accel.h b/drivers/iio/accel/bmc150-accel.h
index ba0335987f94..38a8b11f8c19 100644
--- a/drivers/iio/accel/bmc150-accel.h
+++ b/drivers/iio/accel/bmc150-accel.h
@@ -16,5 +16,6 @@ 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;
+extern const struct regmap_config bmc150_regmap_conf;
#endif /* _BMC150_ACCEL_H_ */