Skip to content

Commit a8bf9e5

Browse files
rddunlapmpe
authored andcommitted
chrp/nvram.c: add MODULE_LICENSE()
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 <[email protected]> Cc: Benjamin Herrenschmidt <[email protected]> Cc: Paul Mackerras <[email protected]> Cc: Michael Ellerman <[email protected]> Cc: [email protected] Signed-off-by: Michael Ellerman <[email protected]>
1 parent 8c8c10b commit a8bf9e5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

arch/powerpc/platforms/chrp/nvram.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
*/
1212

1313
#include <linux/kernel.h>
14+
#include <linux/module.h>
1415
#include <linux/init.h>
1516
#include <linux/spinlock.h>
1617
#include <linux/uaccess.h>
@@ -89,3 +90,5 @@ void __init chrp_nvram_init(void)
8990

9091
return;
9192
}
93+
94+
MODULE_LICENSE("GPL v2");

0 commit comments

Comments
 (0)