diff options
author | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2022-01-16 21:05:28 +0300 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2022-02-18 14:36:54 +0300 |
commit | 0a18114d3ffd0ce0dc3a356d0c2fc7b5b8afc0ae (patch) | |
tree | 17b4efd354fbafe43cedffff663cd77207fb87c1 /drivers/iio/accel/adxl345_spi.c | |
parent | fa4df5a9036e1a68b18a01c714c69961040d2f9b (diff) | |
download | linux-0a18114d3ffd0ce0dc3a356d0c2fc7b5b8afc0ae.tar.xz |
iio:accel:adxl345: Move exports into IIO_ADXL345 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.
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Link: https://lore.kernel.org/r/20220116180535.2367780-7-jic23@kernel.org
Diffstat (limited to 'drivers/iio/accel/adxl345_spi.c')
-rw-r--r-- | drivers/iio/accel/adxl345_spi.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/iio/accel/adxl345_spi.c b/drivers/iio/accel/adxl345_spi.c index ea559ac2e87d..c752562c5d3b 100644 --- a/drivers/iio/accel/adxl345_spi.c +++ b/drivers/iio/accel/adxl345_spi.c @@ -72,3 +72,4 @@ module_spi_driver(adxl345_spi_driver); MODULE_AUTHOR("Eva Rachel Retuya <eraretuya@gmail.com>"); MODULE_DESCRIPTION("ADXL345 3-Axis Digital Accelerometer SPI driver"); MODULE_LICENSE("GPL v2"); +MODULE_IMPORT_NS(IIO_ADXL345); |