Message ID | 20240125193420.533604-8-leitao@debian.org (mailing list archive) |
---|---|
State | Accepted |
Commit | ad979679d64befabd9bdfa0756aefd8c4a34fd91 |
Delegated to: | Netdev Maintainers |
Headers | show |
Series | Fix MODULE_DESCRIPTION() for net (p3) | expand |
On Thu, Jan 25, 2024 at 11:34:17AM -0800, Breno Leitao wrote: > W=1 builds now warn if module is built without a MODULE_DESCRIPTION(). > Add descriptions to the Beckhoff CX5020 EtherCAT Ethernet driver. > > Signed-off-by: Breno Leitao <leitao@debian.org> Reviewed-by: Simon Horman <horms@kernel.org>
diff --git a/drivers/net/ethernet/ec_bhf.c b/drivers/net/ethernet/ec_bhf.c index c2c5c589a5e3..44af1d13d931 100644 --- a/drivers/net/ethernet/ec_bhf.c +++ b/drivers/net/ethernet/ec_bhf.c @@ -590,5 +590,6 @@ module_pci_driver(pci_driver); module_param(polling_frequency, long, 0444); MODULE_PARM_DESC(polling_frequency, "Polling timer frequency in ns"); +MODULE_DESCRIPTION("Beckhoff CX5020 EtherCAT Ethernet driver"); MODULE_LICENSE("GPL"); MODULE_AUTHOR("Dariusz Marcinkiewicz <reksio@newterm.pl>");
W=1 builds now warn if module is built without a MODULE_DESCRIPTION(). Add descriptions to the Beckhoff CX5020 EtherCAT Ethernet driver. Signed-off-by: Breno Leitao <leitao@debian.org> --- drivers/net/ethernet/ec_bhf.c | 1 + 1 file changed, 1 insertion(+)