Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Dmitri Vorobiev and committed by
Ralf Baechle
4c2bdcdc 2f123e50

+1
+1
drivers/input/misc/sgi_btns.c
··· 174 174 platform_driver_unregister(&sgi_buttons_driver); 175 175 } 176 176 177 + MODULE_LICENSE("GPL"); 177 178 module_init(sgi_buttons_init); 178 179 module_exit(sgi_buttons_exit);