diff options
author | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2022-01-16 19:05:30 +0100 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2022-02-18 12:36:54 +0100 |
commit | 489c75af0f4da1e83ba08895bdda533663faf592 (patch) | |
tree | e625f1d117ea92229a4e08b0fbb777b725004e3a /drivers/iio/accel/adxl372_spi.c | |
parent | iio:accel:adxl355: Move exports into IIO_ADXL355 namespace (diff) | |
download | linux-489c75af0f4da1e83ba08895bdda533663faf592.tar.xz linux-489c75af0f4da1e83ba08895bdda533663faf592.zip |
iio:accel:adxl372: Move exports into IIO_ADXL372 namespace
To avoid unnecessary pollution of the global symbol namespace move the
driver core exports into their own namespace and import that into the two
bus modules.
For more info see https://lwn.net/Articles/760045/
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Link: https://lore.kernel.org/r/20220116180535.2367780-9-jic23@kernel.org
Diffstat (limited to 'drivers/iio/accel/adxl372_spi.c')
-rw-r--r-- | drivers/iio/accel/adxl372_spi.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/iio/accel/adxl372_spi.c b/drivers/iio/accel/adxl372_spi.c index 1f1352fee99a..2bd267a22f29 100644 --- a/drivers/iio/accel/adxl372_spi.c +++ b/drivers/iio/accel/adxl372_spi.c @@ -59,3 +59,4 @@ module_spi_driver(adxl372_spi_driver); MODULE_AUTHOR("Stefan Popa <stefan.popa@analog.com>"); MODULE_DESCRIPTION("Analog Devices ADXL372 3-axis accelerometer SPI driver"); MODULE_LICENSE("GPL"); +MODULE_IMPORT_NS(IIO_ADXL372); |