/* SPDX-License-Identifier: GPL-2.0-only */ /* * STMicroelectronics hts221 sensor driver * * Copyright 2016 STMicroelectronics Inc. * * Lorenzo Bianconi <[email protected]> */ #ifndef HTS221_H #define HTS221_H #define HTS221_DEV_NAME … #include <linux/iio/iio.h> enum hts221_sensor_type { … }; struct hts221_sensor { … }; struct hts221_hw { … }; extern const struct dev_pm_ops hts221_pm_ops; int hts221_probe(struct device *dev, int irq, const char *name, struct regmap *regmap); int hts221_set_enable(struct hts221_hw *hw, bool enable); int hts221_allocate_buffers(struct iio_dev *iio_dev); int hts221_allocate_trigger(struct iio_dev *iio_dev); #endif /* HTS221_H */