[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <PAXPR04MB8304E7A86D98E5785B6EC52AEB419@PAXPR04MB8304.eurprd04.prod.outlook.com>
Date: Wed, 24 May 2023 11:32:24 +0000
From: Zhipeng Wang <zhipeng.wang_1@....com>
To: Viresh Kumar <viresh.kumar@...aro.org>
CC: "rafael@...nel.org" <rafael@...nel.org>,
"linux-pm@...r.kernel.org" <linux-pm@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: RE: [EXT] Re: [PATCH 1/2] cpufreq: dt-platdev: Add MODULE_LICENSE
I am working on enabling support for Google's Generic Kernel Image (GKI) project on our boards (mek_8qxp and 8qm).
The cpufreq-dt driver already supports modularity, and the cpufreq-dt-platdev is also required. From my understanding, cpufreq-dt-platdev is not necessarily required to be built in, as it does not affect the basic boot process. Therefore, I would like to make it support building as a module.
BRs,
Zhipeng
> -----Original Message-----
> From: Viresh Kumar <viresh.kumar@...aro.org>
> Sent: 2023年5月24日 18:45
> To: Zhipeng Wang <zhipeng.wang_1@....com>
> Cc: rafael@...nel.org; linux-pm@...r.kernel.org; linux-kernel@...r.kernel.org
> Subject: [EXT] Re: [PATCH 1/2] cpufreq: dt-platdev: Add MODULE_LICENSE
>
> Caution: This is an external email. Please take care when clicking links or
> opening attachments. When in doubt, report the message using the 'Report
> this email' button
>
>
> On 24-05-23, 15:34, Zhipeng Wang wrote:
> > Add MODULE_LICENSE to support building as module.
> >
> > Signed-off-by: Zhipeng Wang <zhipeng.wang_1@....com>
> > ---
> > drivers/cpufreq/cpufreq-dt-platdev.c | 1 +
> > 1 file changed, 1 insertion(+)
> >
> > diff --git a/drivers/cpufreq/cpufreq-dt-platdev.c
> > b/drivers/cpufreq/cpufreq-dt-platdev.c
> > index 338cf6cc6596..54529aa16d53 100644
> > --- a/drivers/cpufreq/cpufreq-dt-platdev.c
> > +++ b/drivers/cpufreq/cpufreq-dt-platdev.c
> > @@ -214,3 +214,4 @@ static int __init cpufreq_dt_platdev_init(void)
> > sizeof(struct
> > cpufreq_dt_platform_data))); }
> > core_initcall(cpufreq_dt_platdev_init);
> > +MODULE_LICENSE("GPL");
>
> Any specific reason why you need this as a module ? Just curious.
>
> --
> viresh
Powered by blists - more mailing lists