* [PATCH] platform/x86: pmc_atom: Drop __initconst on dmi table [not found] <201904111738.Ncw2Vf01%lkp@intel.com> @ 2019-04-11 17:28 ` Stephen Boyd 2019-04-12 7:15 ` Hans de Goede 0 siblings, 1 reply; 2+ messages in thread From: Stephen Boyd @ 2019-04-11 17:28 UTC (permalink / raw) To: Michael Turquette, Stephen Boyd Cc: kbuild-all, kbuild test robot, linux-arm-kernel, linux-kernel, linux-clk, David Müller, Hans de Goede, Andy Shevchenko It's used by probe and that isn't an init function. Drop this so that we don't get a section mismatch. Reported-by: kbuild test robot <lkp@intel.com> Cc: David Müller <dave.mueller@gmx.ch> Cc: Hans de Goede <hdegoede@redhat.com> Cc: Andy Shevchenko <andy.shevchenko@gmail.com> Fixes: 7c2e07130090 ("clk: x86: Add system specific quirk to mark clocks as critical") Signed-off-by: Stephen Boyd <sboyd@kernel.org> --- drivers/platform/x86/pmc_atom.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/platform/x86/pmc_atom.c b/drivers/platform/x86/pmc_atom.c index eaec2d306481..c7039f52ad51 100644 --- a/drivers/platform/x86/pmc_atom.c +++ b/drivers/platform/x86/pmc_atom.c @@ -396,7 +396,7 @@ static int pmc_dbgfs_register(struct pmc_dev *pmc) * Some systems need one or more of their pmc_plt_clks to be * marked as critical. */ -static const struct dmi_system_id critclk_systems[] __initconst = { +static const struct dmi_system_id critclk_systems[] = { { .ident = "MPL CEC1x", .matches = { -- Sent by a computer through tubes ^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] platform/x86: pmc_atom: Drop __initconst on dmi table 2019-04-11 17:28 ` [PATCH] platform/x86: pmc_atom: Drop __initconst on dmi table Stephen Boyd @ 2019-04-12 7:15 ` Hans de Goede 0 siblings, 0 replies; 2+ messages in thread From: Hans de Goede @ 2019-04-12 7:15 UTC (permalink / raw) To: Stephen Boyd, Michael Turquette Cc: kbuild-all, kbuild test robot, linux-arm-kernel, linux-kernel, linux-clk, David Müller, Andy Shevchenko Hi Stephen, On 11-04-19 19:28, Stephen Boyd wrote: > It's used by probe and that isn't an init function. Drop this so that we > don't get a section mismatch. > > Reported-by: kbuild test robot <lkp@intel.com> > Cc: David Müller <dave.mueller@gmx.ch> > Cc: Hans de Goede <hdegoede@redhat.com> > Cc: Andy Shevchenko <andy.shevchenko@gmail.com> > Fixes: 7c2e07130090 ("clk: x86: Add system specific quirk to mark clocks as critical") > Signed-off-by: Stephen Boyd <sboyd@kernel.org> Thank you for fixing this, I agree that this is the correct fix: Reviewed-by: Hans de Goede <hdegoede@redhat.com> Regards, Hans > --- > drivers/platform/x86/pmc_atom.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/platform/x86/pmc_atom.c b/drivers/platform/x86/pmc_atom.c > index eaec2d306481..c7039f52ad51 100644 > --- a/drivers/platform/x86/pmc_atom.c > +++ b/drivers/platform/x86/pmc_atom.c > @@ -396,7 +396,7 @@ static int pmc_dbgfs_register(struct pmc_dev *pmc) > * Some systems need one or more of their pmc_plt_clks to be > * marked as critical. > */ > -static const struct dmi_system_id critclk_systems[] __initconst = { > +static const struct dmi_system_id critclk_systems[] = { > { > .ident = "MPL CEC1x", > .matches = { > ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-04-12 7:15 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <201904111738.Ncw2Vf01%lkp@intel.com>
2019-04-11 17:28 ` [PATCH] platform/x86: pmc_atom: Drop __initconst on dmi table Stephen Boyd
2019-04-12 7:15 ` Hans de Goede
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox
Powered by JetHome