]> git.baikalelectronics.ru Git - kernel.git/commit
platform/x86: intel_scu_wdt: Drop mistakenly added const
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 4 Feb 2021 15:05:08 +0000 (17:05 +0200)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 5 Feb 2021 10:54:27 +0000 (12:54 +0200)
commitca338fed2a5fce66660904d7ab50bec061d2c8a2
treee38c10ce8ad34031fcfeba21a3956ae79b3cd94f
parenta507e5d90f3d6846a02d9c2c79e6f6395982db92
platform/x86: intel_scu_wdt: Drop mistakenly added const

Neither original structure nor platform_data is declared with const.
Drop mistakenly added const when assing platform_data.

Fixes: a507e5d90f3d ("platform/x86: intel_scu_wdt: Get rid of custom x86 model comparison")
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20210204150508.62659-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
drivers/platform/x86/intel_scu_wdt.c