EmbeddedRelated.com
Forums

Error: module license 'unspecified' taints kernel

Started by pratibha_275 May 19, 2009
Hi!
After including my gpio module into the board AT91SAM9263, when i insmod the gpio.ko i get the following error

DEV_GPIO: module license 'unspecified' taints kernel

Can anybody tell me the reason?

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

pratibha_275 wrote:
> Hi!
> After including my gpio module into the board AT91SAM9263, when i insmod the gpio.ko i get the following error
>
> DEV_GPIO: module license 'unspecified' taints kernel
>
> Can anybody tell me the reason?

Add this line to the end of your module source:

MODULE_LICENSE("GPL");

Caglar
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org

iEYEARECAAYFAkoSk5IACgkQ/nL+S5dojejuGQCglQ6LxE/KXLgClljRmpdFdl7+
qR4AnRZ5yKY9K5hAvVagi/28LesYoXce
=COph
-----END PGP SIGNATURE-----