diff mbox series

ieee802154/adf7242: Add MODULE_FIRMWARE macro

Message ID 20230616121807.1034050-1-juerg.haefliger@canonical.com (mailing list archive)
State Handled Elsewhere
Headers show
Series ieee802154/adf7242: Add MODULE_FIRMWARE macro | expand

Commit Message

Juerg Haefliger June 16, 2023, 12:18 p.m. UTC
The module loads firmware so add a MODULE_FIRMWARE macro to provide that
information via modinfo.

Signed-off-by: Juerg Haefliger <juerg.haefliger@canonical.com>
---
 drivers/net/ieee802154/adf7242.c | 2 ++
 1 file changed, 2 insertions(+)

Comments

patchwork-bot+netdevbpf@kernel.org June 18, 2023, 10:20 a.m. UTC | #1
Hello:

This patch was applied to netdev/net.git (main)
by David S. Miller <davem@davemloft.net>:

On Fri, 16 Jun 2023 14:18:07 +0200 you wrote:
> The module loads firmware so add a MODULE_FIRMWARE macro to provide that
> information via modinfo.
> 
> Signed-off-by: Juerg Haefliger <juerg.haefliger@canonical.com>
> ---
>  drivers/net/ieee802154/adf7242.c | 2 ++
>  1 file changed, 2 insertions(+)

Here is the summary with links:
  - ieee802154/adf7242: Add MODULE_FIRMWARE macro
    https://git.kernel.org/netdev/net/c/f593a94b530a

You are awesome, thank you!
Simon Horman June 21, 2023, 2:44 p.m. UTC | #2
On Fri, Jun 16, 2023 at 02:18:07PM +0200, Juerg Haefliger wrote:
> The module loads firmware so add a MODULE_FIRMWARE macro to provide that
> information via modinfo.
> 
> Signed-off-by: Juerg Haefliger <juerg.haefliger@canonical.com>

Reviewed-by: Simon Horman <simon.horman@corigine.com>
diff mbox series

Patch

diff --git a/drivers/net/ieee802154/adf7242.c b/drivers/net/ieee802154/adf7242.c
index f9972b8140f9..a03490ba2e5b 100644
--- a/drivers/net/ieee802154/adf7242.c
+++ b/drivers/net/ieee802154/adf7242.c
@@ -1348,3 +1348,5 @@  module_spi_driver(adf7242_driver);
 MODULE_AUTHOR("Michael Hennerich <michael.hennerich@analog.com>");
 MODULE_DESCRIPTION("ADF7242 IEEE802.15.4 Transceiver Driver");
 MODULE_LICENSE("GPL");
+
+MODULE_FIRMWARE(FIRMWARE);