diff options
| author | Dmitry Baryshkov <dmitry.baryshkov@linaro.org> | 2020-12-04 05:54:59 +0300 |
|---|---|---|
| committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2021-01-16 18:20:56 +0000 |
| commit | ec82edb258bbf0233306cc45f65d4b6092243ee9 (patch) | |
| tree | 950548d513f79ccfea408ec3f4c81d20bd3d4b6a /drivers/iio/adc/qcom-pm8xxx-xoadc.c | |
| parent | iio: adc: qcom-vadc-common: use fixp_linear_interpolate (diff) | |
| download | linux-ec82edb258bbf0233306cc45f65d4b6092243ee9.tar.gz linux-ec82edb258bbf0233306cc45f65d4b6092243ee9.zip | |
iio: adc: move qcom-vadc-common.h to include dir
qcom-vadc-common module will be used by ADC thermal monitoring driver,
so move it to global include dir.
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://lore.kernel.org/r/20201204025509.1075506-6-dmitry.baryshkov@linaro.org
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/adc/qcom-pm8xxx-xoadc.c')
| -rw-r--r-- | drivers/iio/adc/qcom-pm8xxx-xoadc.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/iio/adc/qcom-pm8xxx-xoadc.c b/drivers/iio/adc/qcom-pm8xxx-xoadc.c index 7e108da7d255..0610bf254771 100644 --- a/drivers/iio/adc/qcom-pm8xxx-xoadc.c +++ b/drivers/iio/adc/qcom-pm8xxx-xoadc.c @@ -10,6 +10,7 @@ * Author: Linus Walleij <linus.walleij@linaro.org> */ +#include <linux/iio/adc/qcom-vadc-common.h> #include <linux/iio/iio.h> #include <linux/iio/sysfs.h> #include <linux/module.h> @@ -21,8 +22,6 @@ #include <linux/interrupt.h> #include <linux/regulator/consumer.h> -#include "qcom-vadc-common.h" - /* * Definitions for the "user processor" registers lifted from the v3.4 * Qualcomm tree. Their kernel has two out-of-tree drivers for the ADC: |
