xtensa: fix xtensa_pmu_setup prototype
authorMax Filippov <jcmvbkbc@gmail.com>
Fri, 31 Jul 2020 19:37:32 +0000 (12:37 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 21 Aug 2020 07:48:17 +0000 (09:48 +0200)
commitffcb9544744baa43c07b86ae0f370968f4a46eeb
treecb7c6b09acd69e442d411c5b2014dbb60043275d
parent8ebdb47527b01fc083dafead2068385f18a3942d
xtensa: fix xtensa_pmu_setup prototype

commit 6d65d3769d1910379e1cfa61ebf387efc6bfb22c upstream.

Fix the following build error in configurations with
CONFIG_XTENSA_VARIANT_HAVE_PERF_EVENTS=y:

  arch/xtensa/kernel/perf_event.c:420:29: error: passing argument 3 of
  ‘cpuhp_setup_state’ from incompatible pointer type

Cc: stable@vger.kernel.org
Fixes: 25a77b55e74c ("xtensa/perf: Convert the hotplug notifier to state machine callbacks")
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/xtensa/kernel/perf_event.c