fbdev: metronomefb: Add MODULE_FIRMWARE macro

Message ID 20230616120529.1028798-1-juerg.haefliger@canonical.com
State New
Headers
Series fbdev: metronomefb: Add MODULE_FIRMWARE macro |

Commit Message

Juerg Haefliger June 16, 2023, 12:05 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/video/fbdev/metronomefb.c | 2 ++
 1 file changed, 2 insertions(+)
  

Patch

diff --git a/drivers/video/fbdev/metronomefb.c b/drivers/video/fbdev/metronomefb.c
index bbdbf463f0c8..4e50882d080c 100644
--- a/drivers/video/fbdev/metronomefb.c
+++ b/drivers/video/fbdev/metronomefb.c
@@ -778,3 +778,5 @@  MODULE_PARM_DESC(user_wfm_size, "Set custom waveform size");
 MODULE_DESCRIPTION("fbdev driver for Metronome controller");
 MODULE_AUTHOR("Jaya Kumar");
 MODULE_LICENSE("GPL");
+
+MODULE_FIRMWARE("metronome.wbf");