The code is licensed under the MPL 1.1/GPL 2.0/LGPL 2.1. 
For more information take a look at the license block in linux/basicplugin.c.