diff options
author | Liam Beguin <liambeguin@gmail.com> | 2022-07-09 21:31:08 -0400 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2022-07-16 19:01:14 +0100 |
commit | cf9a4b58b56e007d12063f1beaee555fa0d15561 (patch) | |
tree | 108e3377d3acb7c62002b87da30b6ccba0399d1d /drivers/iio/afe/iio-rescale.c | |
parent | 1c796caff0dba1774f31899170ea18b32768af1f (diff) | |
download | linux-cf9a4b58b56e007d12063f1beaee555fa0d15561.tar.bz2 |
iio: afe: rescale: export symbols used during testing
In preparation for module support, export symbols use during testing.
Signed-off-by: Liam Beguin <liambeguin@gmail.com>
Link: https://lore.kernel.org/r/20220710013109.3349104-5-liambeguin@gmail.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/afe/iio-rescale.c')
-rw-r--r-- | drivers/iio/afe/iio-rescale.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/iio/afe/iio-rescale.c b/drivers/iio/afe/iio-rescale.c index 6949d2151025..1f280c360701 100644 --- a/drivers/iio/afe/iio-rescale.c +++ b/drivers/iio/afe/iio-rescale.c @@ -107,6 +107,7 @@ int rescale_process_scale(struct rescale *rescale, int scale_type, return -EOPNOTSUPP; } } +EXPORT_SYMBOL_NS_GPL(rescale_process_scale, IIO_RESCALE); int rescale_process_offset(struct rescale *rescale, int scale_type, int scale, int scale2, int schan_off, @@ -140,6 +141,7 @@ int rescale_process_offset(struct rescale *rescale, int scale_type, return -EOPNOTSUPP; } } +EXPORT_SYMBOL_NS_GPL(rescale_process_offset, IIO_RESCALE); static int rescale_read_raw(struct iio_dev *indio_dev, struct iio_chan_spec const *chan, |