/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _SCD30_H #define _SCD30_H #include <linux/completion.h> #include <linux/device.h> #include <linux/mutex.h> #include <linux/pm.h> #include <linux/regulator/consumer.h> #include <linux/types.h> struct scd30_state; enum scd30_cmd { … }; #define SCD30_MEAS_COUNT … scd30_command_t; struct scd30_state { … }; extern const struct dev_pm_ops scd30_pm_ops; int scd30_probe(struct device *dev, int irq, const char *name, void *priv, scd30_command_t command); #endif