fbdev: maxine: use MODULE_LICENSE() unconditionally

This driver cannot be built as a loadable module so testing for
"#ifdef MODULE" is not appropriate here.
Also, MODULE_LICENSE() is always available.

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Acked-by: Maciej W. Rozycki <macro@orcam.me.uk>
Signed-off-by: Helge Deller <deller@gmx.de>
This commit is contained in:
Randy Dunlap 2026-08-14 11:42:34 -07:00 committed by Helge Deller
parent c761c0400f
commit 772bd1a842

View File

@ -169,9 +169,7 @@ static void __exit maxinefb_exit(void)
unregister_framebuffer(&fb_info);
}
#ifdef MODULE
MODULE_LICENSE("GPL");
#endif
module_init(maxinefb_init);
module_exit(maxinefb_exit);
MODULE_LICENSE("GPL");