Message ID | 20230616120705.1030177-1-juerg.haefliger@canonical.com (mailing list archive) |
---|---|
State | Accepted, archived |
Headers | show |
Series | fbdev: broadsheetfb: Add MODULE_FIRMWARE macro | expand |
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 --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");
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(+)