* Need of MODULE_LICENSE("GPL")
@ 2012-12-20 9:46 Niroj Pokhrel
[not found] ` <CAAJodpFW1h7ss+NyuaYF83jeWWj81BFSm3GuRPgrHL114nxR4Q@mail.gmail.com>
0 siblings, 1 reply; 3+ messages in thread
From: Niroj Pokhrel @ 2012-12-20 9:46 UTC (permalink / raw)
To: kernelnewbies
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20121220/d3c8f589/attachment.html
^ permalink raw reply [flat|nested] 3+ messages in thread[parent not found: <CAAJodpFW1h7ss+NyuaYF83jeWWj81BFSm3GuRPgrHL114nxR4Q@mail.gmail.com>]
* Need of MODULE_LICENSE("GPL") [not found] ` <CAAJodpFW1h7ss+NyuaYF83jeWWj81BFSm3GuRPgrHL114nxR4Q@mail.gmail.com> @ 2012-12-20 10:34 ` Niroj Pokhrel 2012-12-20 10:45 ` Ivan Nikolaev 0 siblings, 1 reply; 3+ messages in thread From: Niroj Pokhrel @ 2012-12-20 10:34 UTC (permalink / raw) To: kernelnewbies On Thu, Dec 20, 2012 at 4:00 PM, Ivan Nikolaev <voidexp@gmail.com> wrote: > Modules which are not 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@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 >> 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20121220/bd445925/attachment-0001.html ^ permalink raw reply [flat|nested] 3+ messages in thread
* Need of MODULE_LICENSE("GPL") 2012-12-20 10:34 ` Niroj Pokhrel @ 2012-12-20 10:45 ` Ivan Nikolaev 0 siblings, 0 replies; 3+ messages in thread From: Ivan Nikolaev @ 2012-12-20 10:45 UTC (permalink / raw) To: kernelnewbies 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. ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-12-20 10:45 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 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).