Commit b2fb2d03 authored by Jeff Johnson's avatar Jeff Johnson Committed by Jonathan Cameron

iio: add missing MODULE_DESCRIPTION() macros

make allmodconfig && make W=1 C=1 reports:
WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/iio/adc/ingenic-adc.o
WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/iio/adc/xilinx-ams.o
WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/iio/buffer/kfifo_buf.o

Add the missing invocations of the MODULE_DESCRIPTION() macro.
Signed-off-by: default avatarJeff Johnson <quic_jjohnson@quicinc.com>
Link: https://lore.kernel.org/r/20240607-md-drivers-iic-v1-1-9f9db6246083@quicinc.comSigned-off-by: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
parent f91f9ece
...@@ -920,4 +920,5 @@ static struct platform_driver ingenic_adc_driver = { ...@@ -920,4 +920,5 @@ static struct platform_driver ingenic_adc_driver = {
.probe = ingenic_adc_probe, .probe = ingenic_adc_probe,
}; };
module_platform_driver(ingenic_adc_driver); module_platform_driver(ingenic_adc_driver);
MODULE_DESCRIPTION("ADC driver for the Ingenic JZ47xx SoCs");
MODULE_LICENSE("GPL v2"); MODULE_LICENSE("GPL v2");
...@@ -1430,5 +1430,6 @@ static struct platform_driver ams_driver = { ...@@ -1430,5 +1430,6 @@ static struct platform_driver ams_driver = {
}; };
module_platform_driver(ams_driver); module_platform_driver(ams_driver);
MODULE_DESCRIPTION("Xilinx AMS driver");
MODULE_LICENSE("GPL v2"); MODULE_LICENSE("GPL v2");
MODULE_AUTHOR("Xilinx, Inc."); MODULE_AUTHOR("Xilinx, Inc.");
...@@ -287,4 +287,5 @@ int devm_iio_kfifo_buffer_setup_ext(struct device *dev, ...@@ -287,4 +287,5 @@ int devm_iio_kfifo_buffer_setup_ext(struct device *dev,
} }
EXPORT_SYMBOL_GPL(devm_iio_kfifo_buffer_setup_ext); EXPORT_SYMBOL_GPL(devm_iio_kfifo_buffer_setup_ext);
MODULE_DESCRIPTION("Industrial I/O buffering based on kfifo");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment