wifi: fill in MODULE_DESCRIPTION()s for wilc1000
W=1 builds now warn if module is built without a MODULE_DESCRIPTION(). Add descriptions to the Atmel WILC1000 SPI driver. Signed-off-by: Breno Leitao <leitao@debian.org> Signed-off-by: Kalle Valo <kvalo@kernel.org> Link: https://msgid.link/20240130104243.3025393-9-leitao@debian.org
This commit is contained in:
parent
35337ac472
commit
c901388028
3 changed files with 3 additions and 0 deletions
|
@ -1018,5 +1018,6 @@ unregister_netdev:
|
||||||
return ERR_PTR(ret);
|
return ERR_PTR(ret);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
MODULE_DESCRIPTION("Atmel WILC1000 core wireless driver");
|
||||||
MODULE_LICENSE("GPL");
|
MODULE_LICENSE("GPL");
|
||||||
MODULE_FIRMWARE(WILC1000_FW(WILC1000_API_VER));
|
MODULE_FIRMWARE(WILC1000_FW(WILC1000_API_VER));
|
||||||
|
|
|
@ -984,4 +984,5 @@ static struct sdio_driver wilc_sdio_driver = {
|
||||||
module_driver(wilc_sdio_driver,
|
module_driver(wilc_sdio_driver,
|
||||||
sdio_register_driver,
|
sdio_register_driver,
|
||||||
sdio_unregister_driver);
|
sdio_unregister_driver);
|
||||||
|
MODULE_DESCRIPTION("Atmel WILC1000 SDIO wireless driver");
|
||||||
MODULE_LICENSE("GPL");
|
MODULE_LICENSE("GPL");
|
||||||
|
|
|
@ -273,6 +273,7 @@ static struct spi_driver wilc_spi_driver = {
|
||||||
.remove = wilc_bus_remove,
|
.remove = wilc_bus_remove,
|
||||||
};
|
};
|
||||||
module_spi_driver(wilc_spi_driver);
|
module_spi_driver(wilc_spi_driver);
|
||||||
|
MODULE_DESCRIPTION("Atmel WILC1000 SPI wireless driver");
|
||||||
MODULE_LICENSE("GPL");
|
MODULE_LICENSE("GPL");
|
||||||
|
|
||||||
static int wilc_spi_tx(struct wilc *wilc, u8 *b, u32 len)
|
static int wilc_spi_tx(struct wilc *wilc, u8 *b, u32 len)
|
||||||
|
|
Loading…
Add table
Reference in a new issue