diff options
author | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2022-01-30 20:56:48 +0000 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2022-02-18 11:42:26 +0000 |
commit | 59cea5bc7c19ac88f2300969eb35c49d91a0eeeb (patch) | |
tree | c6d481062ea84c707e3c8b2182674be36db5d8ba /drivers/iio/adc/ad7606_spi.c | |
parent | 8a0080af84d3fb2423f0b3b55eff666f545eb097 (diff) | |
download | linux-59cea5bc7c19ac88f2300969eb35c49d91a0eeeb.tar.bz2 |
iio:adc:ad76060: Move exports into IIO_AD7606 namespace.
In order to avoid unnecessary pollution of the global symbol namespace
move the core/library functions into a specific namespace and import
that into the various bus specific device drivers that use them.
For more information see https://lwn.net/Articles/760045/
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Link: https://lore.kernel.org/r/20220130205701.334592-4-jic23@kernel.org
Diffstat (limited to 'drivers/iio/adc/ad7606_spi.c')
-rw-r--r-- | drivers/iio/adc/ad7606_spi.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/iio/adc/ad7606_spi.c b/drivers/iio/adc/ad7606_spi.c index 29945ad07dca..263a778bcf25 100644 --- a/drivers/iio/adc/ad7606_spi.c +++ b/drivers/iio/adc/ad7606_spi.c @@ -362,3 +362,4 @@ module_spi_driver(ad7606_driver); MODULE_AUTHOR("Michael Hennerich <michael.hennerich@analog.com>"); MODULE_DESCRIPTION("Analog Devices AD7606 ADC"); MODULE_LICENSE("GPL v2"); +MODULE_IMPORT_NS(IIO_AD7606); |