Need of MODULE_LICENSE("GPL")

Niroj Pokhrel nirojpokhrel at gmail.com
Thu Dec 20 04:46:18 EST 2012


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 


More information about the Kernelnewbies mailing list