mirror of
https://github.com/torvalds/linux.git
synced 2026-09-22 20:54:03 +02:00
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:
parent
c761c0400f
commit
772bd1a842
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user