Need of MODULE_LICENSE("GPL")

Niroj Pokhrel nirojpokhrel at gmail.com
Thu Dec 20 05:34:13 EST 2012


On Thu, Dec 20, 2012 at 4:00 PM, Ivan Nikolaev <voidexp at 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 at 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 


More information about the Kernelnewbies mailing list