diff options
author | Stephen Boyd <sboyd@kernel.org> | 2019-04-11 10:22:43 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-05-10 18:36:11 +0200 |
commit | a3aa7cab0fc24395c428275c8b994c98502f75fa (patch) | |
tree | 40b68e7a7d93fe7b3f09d26515b591583aa9f137 | |
parent | e6f2733f48cb0f11d30813b48965f21cae7cb8c6 (diff) | |
download | linux-stable-a3aa7cab0fc24395c428275c8b994c98502f75fa.tar.gz linux-stable-a3aa7cab0fc24395c428275c8b994c98502f75fa.tar.bz2 linux-stable-a3aa7cab0fc24395c428275c8b994c98502f75fa.zip |
platform/x86: pmc_atom: Drop __initconst on dmi table
[ Upstream commit b995dcca7cf12f208cfd95fd9d5768dca7cccec7 ]
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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
-rw-r--r-- | drivers/platform/x86/pmc_atom.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 = { |