Re: Need of MODULE_LICENSE("GPL")

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx
> <mailto:voidexp@xxxxxxxxx>> 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@xxxxxxxxx <mailto:nirojpokhrel@xxxxxxxxx>> написал:
>
>         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@xxxxxxxxxxxxxxxxx
>         <mailto:Kernelnewbies@xxxxxxxxxxxxxxxxx>
>         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.

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux