From: voidexp@gmail.com (Ivan Nikolaev)
To: kernelnewbies@lists.kernelnewbies.org
Subject: Need of MODULE_LICENSE("GPL")
Date: Thu, 20 Dec 2012 11:45:42 +0100 [thread overview]
Message-ID: <50D2EC56.4030102@gmail.com> (raw)
In-Reply-To: <CAKzXvN-qPUBZUE-reHdyj9H_nCRsapahy1kd=wuQCcZMao1_mg@mail.gmail.com>
On Thu 20 Dec 2012 11:34:13 AM CET, Niroj Pokhrel wrote:
>
>
> On Thu, Dec 20, 2012 at 4:00 PM, Ivan Nikolaev <voidexp@gmail.com
> <mailto:voidexp@gmail.com>> wrote:
>
> Modules which are not declared.as <http://declared.as> GPL, by
> default are considered proprietary. Proprietary code can't make
> use of GPLed modules.
>
> 20.12.2012 12:03 ???????????? "Niroj Pokhrel"
> <nirojpokhrel at gmail.com <mailto:nirojpokhrel@gmail.com>> ???????:
>
> Hi,
> While writing a device driver, I noticed
> MODULE_LICENSE("GPL"). When I omitted it, I got several error
> like device_create, device_destroy, class_create,
> class_destroy is not recognized symbol. I am just wondering
> what is the use of this macro and how does it helps in
> defining the symbols. Thanks in advance.
>
> --
> Niroj Pokhrel
> Software Engineer,
> Samsung India Software Operations
>
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org
> <mailto:Kernelnewbies@kernelnewbies.org>
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>
>
> Thank you Ivan. But can you please give me some insight on proprietary
> code and GPLed modules. Thanking you in advance.
>
> --
> Niroj Pokhrel
> Software Engineer,
> Samsung India Software Operations
Well, basically, all drivers and code shipped with kernel are GPL'ed.
Kernel's API can be called from any kind of module, proprietary or open
source. This does not extend for modules. If I write a module and
release it under GPL, everyone else who wants to use that module must
also release it under GPL.
prev parent reply other threads:[~2012-12-20 10:45 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-20 9:46 Need of MODULE_LICENSE("GPL") Niroj Pokhrel
[not found] ` <CAAJodpFW1h7ss+NyuaYF83jeWWj81BFSm3GuRPgrHL114nxR4Q@mail.gmail.com>
2012-12-20 10:34 ` Niroj Pokhrel
2012-12-20 10:45 ` Ivan Nikolaev [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=50D2EC56.4030102@gmail.com \
--to=voidexp@gmail.com \
--cc=kernelnewbies@lists.kernelnewbies.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).