summaryrefslogtreecommitdiffstats
path: root/drivers/iio/accel/adxl313_spi.c
diff options
context:
space:
mode:
authorJonathan Cameron <Jonathan.Cameron@huawei.com>2022-01-16 19:05:27 +0100
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2022-02-18 12:36:54 +0100
commitfa4df5a9036e1a68b18a01c714c69961040d2f9b (patch)
tree2888adbded56577d0d2b866fb1e3195d4b0e8fd2 /drivers/iio/accel/adxl313_spi.c
parentiio:accel:bma400: Move exports into IIO_BMA400 namespace (diff)
downloadlinux-fa4df5a9036e1a68b18a01c714c69961040d2f9b.tar.xz
linux-fa4df5a9036e1a68b18a01c714c69961040d2f9b.zip
iio:accel:adxl313: Move exports into IIO_ADXL313 namespace
In order 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> Cc: Lucas Stankus <lucas.p.stankus@gmail.com> Link: https://lore.kernel.org/r/20220116180535.2367780-6-jic23@kernel.org
Diffstat (limited to 'drivers/iio/accel/adxl313_spi.c')
-rw-r--r--drivers/iio/accel/adxl313_spi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/iio/accel/adxl313_spi.c b/drivers/iio/accel/adxl313_spi.c
index a6162f36ef52..a3c6d553462d 100644
--- a/drivers/iio/accel/adxl313_spi.c
+++ b/drivers/iio/accel/adxl313_spi.c
@@ -90,3 +90,4 @@ module_spi_driver(adxl313_spi_driver);
MODULE_AUTHOR("Lucas Stankus <lucas.p.stankus@gmail.com>");
MODULE_DESCRIPTION("ADXL313 3-Axis Digital Accelerometer SPI driver");
MODULE_LICENSE("GPL v2");
+MODULE_IMPORT_NS(IIO_ADXL313);