summaryrefslogtreecommitdiff
path: root/drivers/platform
diff options
context:
space:
mode:
authorStephen Boyd <sboyd@kernel.org>2019-04-11 10:22:43 -0700
committerStephen Boyd <sboyd@kernel.org>2019-04-11 10:25:37 -0700
commitb995dcca7cf12f208cfd95fd9d5768dca7cccec7 (patch)
tree644a2ba1a6fefbe99fb1cb3a14dc01ffdf73d2a3 /drivers/platform
parent7c2e07130090ae001a97a6b65597830d6815e93e (diff)
platform/x86: pmc_atom: Drop __initconst on dmi table
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>
Diffstat (limited to 'drivers/platform')
-rw-r--r--drivers/platform/x86/pmc_atom.c2
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 = {