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:53:13 +0000 (17:53 +0200)
commitbdf3bd5205be795903c59ed516fcb62205cbb3d1
tree3ba834cde722f01f27aa8795e04789210c18ebea
parent1fff3c28ba2d90ac74a4aa30f5f92a6509f883e9
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