nfc: fdp: Add MODULE_FIRMWARE macros

Message ID 20230616122218.1036256-1-juerg.haefliger@canonical.com
State New
Headers
Series nfc: fdp: Add MODULE_FIRMWARE macros |

Commit Message

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

Signed-off-by: Juerg Haefliger <juerg.haefliger@canonical.com>
---
 drivers/nfc/fdp/fdp.c | 3 +++
 1 file changed, 3 insertions(+)
  

Comments

Krzysztof Kozlowski June 16, 2023, 6:13 p.m. UTC | #1
On 16/06/2023 14:22, Juerg Haefliger wrote:
> The module loads firmware so add MODULE_FIRMWARE macros to provide that
> information via modinfo.
> 
> Signed-off-by: Juerg Haefliger <juerg.haefliger@canonical.com>
> ---
>  drivers/nfc/fdp/fdp.c | 3 +++


Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

Best regards,
Krzysztof
  
patchwork-bot+netdevbpf@kernel.org June 18, 2023, 10:30 a.m. UTC | #2
Hello:

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

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

Here is the summary with links:
  - nfc: fdp: Add MODULE_FIRMWARE macros
    https://git.kernel.org/netdev/net/c/eb09fc2d1416

You are awesome, thank you!
  

Patch

diff --git a/drivers/nfc/fdp/fdp.c b/drivers/nfc/fdp/fdp.c
index f12f903a9dd1..da3e2dce8e70 100644
--- a/drivers/nfc/fdp/fdp.c
+++ b/drivers/nfc/fdp/fdp.c
@@ -762,3 +762,6 @@  EXPORT_SYMBOL(fdp_nci_remove);
 MODULE_LICENSE("GPL");
 MODULE_DESCRIPTION("NFC NCI driver for Intel Fields Peak NFC controller");
 MODULE_AUTHOR("Robert Dolca <robert.dolca@intel.com>");
+
+MODULE_FIRMWARE(FDP_OTP_PATCH_NAME);
+MODULE_FIRMWARE(FDP_RAM_PATCH_NAME);