Re: [PATCH] fbdev: broadsheetfb: Add MODULE_FIRMWARE macro

From: Helge Deller
Date: Mon Jun 19 2023 - 02:11:36 EST


On 6/16/23 14:07, 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@xxxxxxxxxxxxx>

I applied both of your patches to the fbdev git tree.

Thanks!
Helge


---
drivers/video/fbdev/broadsheetfb.c | 2 ++
1 file changed, 2 insertions(+)

diff --git a/drivers/video/fbdev/broadsheetfb.c b/drivers/video/fbdev/broadsheetfb.c
index b518cacbf7cd..678d182d187d 100644
--- a/drivers/video/fbdev/broadsheetfb.c
+++ b/drivers/video/fbdev/broadsheetfb.c
@@ -1223,3 +1223,5 @@ module_platform_driver(broadsheetfb_driver);
MODULE_DESCRIPTION("fbdev driver for Broadsheet controller");
MODULE_AUTHOR("Jaya Kumar");
MODULE_LICENSE("GPL");
+
+MODULE_FIRMWARE("broadsheet.wbf");