From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752454AbdKUD2U (ORCPT ); Mon, 20 Nov 2017 22:28:20 -0500 Received: from mail-pf0-f194.google.com ([209.85.192.194]:43454 "EHLO mail-pf0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751877AbdKUD2T (ORCPT ); Mon, 20 Nov 2017 22:28:19 -0500 X-Google-Smtp-Source: AGs4zMbzJQilk1HaZ4sW5XrpEwTHk270lVv3UaRPh7g4pZKD50JR6GVAQp9gcIfj9ItcUE7kAEVpjA== Date: Tue, 21 Nov 2017 08:58:15 +0530 From: Viresh Kumar To: Jesse Chan Cc: "Rafael J. Wysocki" , Matthias Brugger , linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org Subject: Re: [PATCH] cpufreq: mediatek: add missing MODULE_DESCRIPTION/AUTHOR/LICENSE Message-ID: <20171121032815.GF6125@vireshk-i7> References: <20171120213201.52606-1-jc@linux.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20171120213201.52606-1-jc@linux.com> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 20-11-17, 13:32, Jesse Chan wrote: > This change resolves a new compile-time warning > when built as a loadable module: > > WARNING: modpost: missing MODULE_LICENSE() in drivers/cpufreq/mediatek-cpufreq.o > see include/linux/module.h for more information > > This adds the license as "GPL v2", which matches the header of the file. > > MODULE_DESCRIPTION and MODULE_AUTHOR are also added. > > Signed-off-by: Jesse Chan > --- > drivers/cpufreq/mediatek-cpufreq.c | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/drivers/cpufreq/mediatek-cpufreq.c b/drivers/cpufreq/mediatek-cpufreq.c > index 18c4bd9a5c65..e0d5090b303d 100644 > --- a/drivers/cpufreq/mediatek-cpufreq.c > +++ b/drivers/cpufreq/mediatek-cpufreq.c > @@ -620,3 +620,7 @@ static int __init mtk_cpufreq_driver_init(void) > return 0; > } > device_initcall(mtk_cpufreq_driver_init); > + > +MODULE_DESCRIPTION("MediaTek CPUFreq driver"); > +MODULE_AUTHOR("Pi-Cheng Chen "); > +MODULE_LICENSE("GPL v2"); Acked-by: Viresh Kumar -- viresh