platform/x86: pmc_atom: Drop __initconst on dmi table
authorStephen Boyd <sboyd@kernel.org>
Thu, 11 Apr 2019 17:22:43 +0000 (10:22 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 10 May 2019 15:54:09 +0000 (17:54 +0200)
commitc1189d68be7dececdcf8310cc037b60f7a28d2cd
tree42159ea93c1e8396032e0f643823a5d3644c191e
parent777943cd6c5f0b2c438e932a218d7c9fbeacd7a9
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>
drivers/platform/x86/pmc_atom.c