diff options
author | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2022-01-16 18:05:23 +0000 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2022-02-18 11:36:53 +0000 |
commit | 4205a215803f7d9a04fcd642bca22de78ea80156 (patch) | |
tree | 1b0a2eb579e015d97a3b43fa92cbb34ca822675c /drivers/iio/accel/mma9551.c | |
parent | c7a43b089826b17e46419d93c00c0d2f4b26735f (diff) | |
download | linux-4205a215803f7d9a04fcd642bca22de78ea80156.tar.gz |
iio:accel:mma9551_core: Move exports into IIO_MMA9551 namespace
In order to avoid unnecessary pollution of the global symbol namespace
move the core mma9551 functions into an mma9551 specific namespace.
For more information see https://lwn.net/Articles/760045/
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Link: https://lore.kernel.org/r/20220116180535.2367780-2-jic23@kernel.org
Diffstat (limited to 'drivers/iio/accel/mma9551.c')
-rw-r--r-- | drivers/iio/accel/mma9551.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/iio/accel/mma9551.c b/drivers/iio/accel/mma9551.c index 4c359fb05480..8709c53fa06b 100644 --- a/drivers/iio/accel/mma9551.c +++ b/drivers/iio/accel/mma9551.c @@ -622,3 +622,4 @@ MODULE_AUTHOR("Irina Tirdea <irina.tirdea@intel.com>"); MODULE_AUTHOR("Vlad Dogaru <vlad.dogaru@intel.com>"); MODULE_LICENSE("GPL v2"); MODULE_DESCRIPTION("MMA9551L motion-sensing platform driver"); +MODULE_IMPORT_NS(IIO_MMA9551); |