Skip to content

Commit 4c2bdcd

Browse files
Dmitri Vorobievralfbaechle
authored andcommitted
INPUT: sgi_btns: Add license specification
The SGI Volume Button interface driver uses GPL-only symbols platform_driver_unregister and platform_driver_register, but lacks license specification. Thus, when compiled as a module, this driver cannot be installed. This patch fixes this by adding the MODULE_LICENSE() specification. Signed-off-by: Dmitri Vorobiev <dmitri.vorobiev@movial.fi> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
1 parent 2f123e5 commit 4c2bdcd

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎drivers/input/misc/sgi_btns.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,5 +174,6 @@ static void __exit sgi_buttons_exit(void)
174174
platform_driver_unregister(&sgi_buttons_driver);
175175
}
176176

177+
MODULE_LICENSE("GPL");
177178
module_init(sgi_buttons_init);
178179
module_exit(sgi_buttons_exit);

0 commit comments

Comments
 (0)