summaryrefslogtreecommitdiffstats
path: root/drivers/iio/buffer
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2019-12-11 11:41:47 +0100
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2019-12-29 16:20:08 +0100
commit0c040d1ddce1d5a4d8de215117e8f0792cc62364 (patch)
treef0a72ef542007a55b0b563f14f9a0102908e9859 /drivers/iio/buffer
parentiio: accel: bma180: Use explicit member assignment (diff)
downloadlinux-0c040d1ddce1d5a4d8de215117e8f0792cc62364.tar.xz
linux-0c040d1ddce1d5a4d8de215117e8f0792cc62364.zip
iio: buffer-dmaengine: Add module information
Make sure that the industrialio-buffer-dmaengine has proper license information so it can be build as a module and loaded without tainting the kernel. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Alexandru Ardelean <alexandru.ardelean@analog.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/buffer')
-rw-r--r--drivers/iio/buffer/industrialio-buffer-dmaengine.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/iio/buffer/industrialio-buffer-dmaengine.c b/drivers/iio/buffer/industrialio-buffer-dmaengine.c
index b7b5a934e9b2..e0b92f3dec0e 100644
--- a/drivers/iio/buffer/industrialio-buffer-dmaengine.c
+++ b/drivers/iio/buffer/industrialio-buffer-dmaengine.c
@@ -10,6 +10,7 @@
#include <linux/dma-mapping.h>
#include <linux/spinlock.h>
#include <linux/err.h>
+#include <linux/module.h>
#include <linux/iio/iio.h>
#include <linux/iio/buffer.h>
@@ -206,3 +207,7 @@ void iio_dmaengine_buffer_free(struct iio_buffer *buffer)
iio_buffer_put(buffer);
}
EXPORT_SYMBOL_GPL(iio_dmaengine_buffer_free);
+
+MODULE_AUTHOR("Lars-Peter Clausen <lars@metafoo.de>");
+MODULE_DESCRIPTION("DMA buffer for the IIO framework");
+MODULE_LICENSE("GPL");