From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 41SGqv5qzczDqgP for ; Sat, 14 Jul 2018 14:27:55 +1000 (AEST) To: linuxppc-dev@lists.ozlabs.org Cc: Benjamin Herrenschmidt , Paul Mackerras , Michael Ellerman From: Randy Dunlap Subject: [PATCH] chrp/nvram.c: add MODULE_LICENSE() Message-ID: <22eb2f31-3b79-3702-071c-d0fe06a50150@infradead.org> Date: Fri, 13 Jul 2018 21:27:48 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Randy Dunlap 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 Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Cc: Michael Ellerman Cc: linuxppc-dev@lists.ozlabs.org --- Feel free to adjust the license string if needed. arch/powerpc/platforms/chrp/nvram.c | 3 +++ 1 file changed, 3 insertions(+) --- lnx-418-rc4.orig/arch/powerpc/platforms/chrp/nvram.c +++ lnx-418-rc4/arch/powerpc/platforms/chrp/nvram.c @@ -11,6 +11,7 @@ */ #include +#include #include #include #include @@ -89,3 +90,5 @@ void __init chrp_nvram_init(void) return; } + +MODULE_LICENSE("GPL v2");