]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
gpio: qixis-fpga: add missing module description
authorBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Mon, 20 Oct 2025 07:20:28 +0000 (09:20 +0200)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Tue, 21 Oct 2025 08:34:52 +0000 (10:34 +0200)
A kernel module must have a license and should have a description. Add
missing MODULE_LICENSE(), MODULE_DESCRIPTION() and throw in a
MODULE_AUTHOR() for good measure.

This fixes the following build issues:

ERROR: modpost: missing MODULE_LICENSE() in drivers/gpio/gpio-qixis-fpga.o
WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/gpio/gpio-qixis-fpga.o

Reported-by: Mark Brown <broonie@kernel.org>
Closes: https://lore.kernel.org/all/aPJW8HIke5pj3doX@sirena.org.uk/
Fixes: e88500247dc3 ("gpio: add QIXIS FPGA GPIO controller")
Link: https://lore.kernel.org/r/20251020072028.21423-1-brgl@bgdev.pl
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
drivers/gpio/gpio-qixis-fpga.c

index 048a2cac4f0f5a6989c19aa26e3b499bbdbce37c..54c2c76822d566e693f338f6b1c9e5eba1a37096 100644 (file)
@@ -105,3 +105,7 @@ static struct platform_driver qixis_cpld_gpio_driver = {
        },
 };
 module_platform_driver(qixis_cpld_gpio_driver);
+
+MODULE_LICENSE("GPL");
+MODULE_AUTHOR("Ioana Ciornei <ioana.ciornei@nxp.com>");
+MODULE_DESCRIPTION("Layerscape GPIO QIXIS FPGA driver");