linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] arch/sparc: Add module license and description for fbdev helpers
@ 2023-06-27 14:58 Thomas Zimmermann
  2023-06-27 15:33 ` Randy Dunlap
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Thomas Zimmermann @ 2023-06-27 14:58 UTC (permalink / raw)
  To: davem, arnd, linux, sam, deller
  Cc: sparclinux, linux-arch, linux-fbdev, dri-devel, Thomas Zimmermann

Add MODULE_LICENSE() and MODULE_DESCRIPTION() for fbdev helpers
on sparc. Fixes the following error:

ERROR: modpost: missing MODULE_LICENSE() in arch/sparc/video/fbdev.o

Reported-by: Guenter Roeck <linux@roeck-us.net>
Closes: https://lore.kernel.org/dri-devel/c525adc9-6623-4660-8718-e0c9311563b8@roeck-us.net/
Suggested-by: Arnd Bergmann <arnd@arndb.de>
Fixes: 4eec0b3048fc ("arch/sparc: Implement fb_is_primary_device() in source file")
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Helge Deller <deller@gmx.de>
Cc: Sam Ravnborg <sam@ravnborg.org>
Cc: sparclinux@vger.kernel.org
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
---
 arch/sparc/video/fbdev.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/arch/sparc/video/fbdev.c b/arch/sparc/video/fbdev.c
index 25837f128132d..bff66dd1909a4 100644
--- a/arch/sparc/video/fbdev.c
+++ b/arch/sparc/video/fbdev.c
@@ -21,3 +21,6 @@ int fb_is_primary_device(struct fb_info *info)
 	return 0;
 }
 EXPORT_SYMBOL(fb_is_primary_device);
+
+MODULE_DESCRIPTION("Sparc fbdev helpers");
+MODULE_LICENSE("GPL");
-- 
2.41.0


^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2023-06-30 11:07 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-27 14:58 [PATCH] arch/sparc: Add module license and description for fbdev helpers Thomas Zimmermann
2023-06-27 15:33 ` Randy Dunlap
2023-06-27 15:36 ` Arnd Bergmann
2023-06-27 18:20 ` Sam Ravnborg
2023-06-30  9:43 ` Helge Deller
2023-06-30 10:58   ` Thomas Zimmermann
2023-06-30 11:04     ` Helge Deller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).