]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
chrp/nvram.c: add MODULE_LICENSE()
authorRandy Dunlap <rdunlap@infradead.org>
Sat, 14 Jul 2018 04:27:48 +0000 (21:27 -0700)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 19 Jul 2018 04:38:46 +0000 (14:38 +1000)
Add MODULE_LICENSE() to the chrp nvram.c driver to fix the build
warning message:

WARNING: modpost: missing MODULE_LICENSE() in arch/powerpc/platforms/chrp/nvram.o

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Michael Ellerman <mpe@ellerman.id.au>
Cc: linuxppc-dev@lists.ozlabs.org
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/platforms/chrp/nvram.c

index c3ede2c365c3b803b630988b8e3cc3be30267732..791b86398e1d708ff9c0b3d4a5b6601c59d65dee 100644 (file)
@@ -11,6 +11,7 @@
  */
 
 #include <linux/kernel.h>
+#include <linux/module.h>
 #include <linux/init.h>
 #include <linux/spinlock.h>
 #include <linux/uaccess.h>
@@ -89,3 +90,5 @@ void __init chrp_nvram_init(void)
 
        return;
 }
+
+MODULE_LICENSE("GPL v2");