]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
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)
committerStephen Boyd <sboyd@kernel.org>
Thu, 11 Apr 2019 17:25:37 +0000 (10:25 -0700)
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

index eaec2d306481ce6830c5e3bdd9fedead190e7005..c7039f52ad51802afa773525af8eed45e5438ac1 100644 (file)
@@ -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.
  */
  * 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 = {
        {
                .ident = "MPL CEC1x",
                .matches = {