diff mbox series

fbdev: broadsheetfb: Add MODULE_FIRMWARE macro

Message ID 20230616120705.1030177-1-juerg.haefliger@canonical.com
State New
Headers show
Series fbdev: broadsheetfb: Add MODULE_FIRMWARE macro | expand

Commit Message

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

Comments

Helge Deller June 19, 2023, 6:11 a.m. UTC | #1
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@canonical.com>

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");
diff mbox series

Patch

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");