| To: | ralf@linux-mips.org, linux-mips@linux-mips.org, linux-kernel@vger.kernel.org |
|---|---|
| Subject: | [PATCH] [MIPS] sgi_btns: add license specification |
| From: | Dmitri Vorobiev <dmitri.vorobiev@movial.fi> |
| Date: | Sat, 25 Oct 2008 01:46:57 +0300 |
| In-reply-to: | <1224888417-26494-1-git-send-email-dmitri.vorobiev@movial.fi> |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| References: | <1224888417-26494-1-git-send-email-dmitri.vorobiev@movial.fi> |
| Sender: | linux-mips-bounce@linux-mips.org |
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>
---
drivers/input/misc/sgi_btns.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers/input/misc/sgi_btns.c b/drivers/input/misc/sgi_btns.c
index ce238f5..be3a15f 100644
--- a/drivers/input/misc/sgi_btns.c
+++ b/drivers/input/misc/sgi_btns.c
@@ -174,5 +174,6 @@ static void __exit sgi_buttons_exit(void)
platform_driver_unregister(&sgi_buttons_driver);
}
+MODULE_LICENSE("GPL");
module_init(sgi_buttons_init);
module_exit(sgi_buttons_exit);
--
1.5.4.3
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: Question about rdhwr emulation., David Daney |
|---|---|
| Next by Date: | [PATCH] [MIPS] IP22: Small cleanups, Dmitri Vorobiev |
| Previous by Thread: | [PATCH] [MIPS] IP22: Small cleanups, Dmitri Vorobiev |
| Next by Thread: | Re: [PATCH] [MIPS] sgi_btns: add license specification, Ralf Baechle |
| Indexes: | [Date] [Thread] [Top] [All Lists] |