Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Liam Beguin and committed by
Jonathan Cameron
cf9a4b58 1c796caf

+3
+2
drivers/iio/afe/iio-rescale.c
··· 107 107 return -EOPNOTSUPP; 108 108 } 109 109 } 110 + EXPORT_SYMBOL_NS_GPL(rescale_process_scale, IIO_RESCALE); 110 111 111 112 int rescale_process_offset(struct rescale *rescale, int scale_type, 112 113 int scale, int scale2, int schan_off, ··· 141 140 return -EOPNOTSUPP; 142 141 } 143 142 } 143 + EXPORT_SYMBOL_NS_GPL(rescale_process_offset, IIO_RESCALE); 144 144 145 145 static int rescale_read_raw(struct iio_dev *indio_dev, 146 146 struct iio_chan_spec const *chan,
+1
drivers/iio/test/iio-test-rescale.c
··· 712 712 MODULE_AUTHOR("Liam Beguin <liambeguin@gmail.com>"); 713 713 MODULE_DESCRIPTION("Test IIO rescale conversion functions"); 714 714 MODULE_LICENSE("GPL v2"); 715 + MODULE_IMPORT_NS(IIO_RESCALE);