diff mbox series

[net-next,11/22] net: fill in MODULE_DESCRIPTION()s for litex

Message ID 20240122184543.2501493-12-leitao@debian.org (mailing list archive)
State Changes Requested
Delegated to: Netdev Maintainers
Headers show
Series [net-next,01/22] net: fill in MODULE_DESCRIPTION()s for 8390 | expand

Commit Message

Breno Leitao Jan. 22, 2024, 6:45 p.m. UTC
W=1 builds now warn if module is built without a MODULE_DESCRIPTION().
Add descriptions to the LiteX Liteeth Ethernet device.

Signed-off-by: Breno Leitao <leitao@debian.org>
---
 drivers/net/ethernet/litex/litex_liteeth.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Gabriel L. Somlo Jan. 22, 2024, 8:48 p.m. UTC | #1
On Mon, Jan 22, 2024 at 10:45:32AM -0800, Breno Leitao wrote:
> W=1 builds now warn if module is built without a MODULE_DESCRIPTION().
> Add descriptions to the LiteX Liteeth Ethernet device.
> 
> Signed-off-by: Breno Leitao <leitao@debian.org>

Acked-by: Gabriel Somlo <gsomlo@gmail.com>

Thanks,
--Gabriel

> ---
>  drivers/net/ethernet/litex/litex_liteeth.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/net/ethernet/litex/litex_liteeth.c b/drivers/net/ethernet/litex/litex_liteeth.c
> index 5182fe737c37..ff54fbe41bcc 100644
> --- a/drivers/net/ethernet/litex/litex_liteeth.c
> +++ b/drivers/net/ethernet/litex/litex_liteeth.c
> @@ -318,4 +318,5 @@ static struct platform_driver liteeth_driver = {
>  module_platform_driver(liteeth_driver);
>  
>  MODULE_AUTHOR("Joel Stanley <joel@jms.id.au>");
> +MODULE_DESCRIPTION("LiteX Liteeth Ethernet driver");
>  MODULE_LICENSE("GPL");
> -- 
> 2.39.3
>
diff mbox series

Patch

diff --git a/drivers/net/ethernet/litex/litex_liteeth.c b/drivers/net/ethernet/litex/litex_liteeth.c
index 5182fe737c37..ff54fbe41bcc 100644
--- a/drivers/net/ethernet/litex/litex_liteeth.c
+++ b/drivers/net/ethernet/litex/litex_liteeth.c
@@ -318,4 +318,5 @@  static struct platform_driver liteeth_driver = {
 module_platform_driver(liteeth_driver);
 
 MODULE_AUTHOR("Joel Stanley <joel@jms.id.au>");
+MODULE_DESCRIPTION("LiteX Liteeth Ethernet driver");
 MODULE_LICENSE("GPL");