]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
MIPS: cm: Fix warning if MIPS_CM is disabled
authorThomas Bogendoerfer <tsbogend@alpha.franken.de>
Fri, 28 Feb 2025 14:37:02 +0000 (15:37 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 2 May 2025 05:51:04 +0000 (07:51 +0200)
commit17d41d0f3a2683be946a0e2d134660481a250029
tree8f46f1ba7aee75abce56acd58a806edc08ad56d9
parenteee19a8037316ba38f1cdf3825e6a21672131ad6
MIPS: cm: Fix warning if MIPS_CM is disabled

commit b73c3ccdca95c237750c981054997c71d33e09d7 upstream.

Commit e27fbe16af5c ("MIPS: cm: Detect CM quirks from device tree")
introduced

arch/mips/include/asm/mips-cm.h:119:13: error: ‘mips_cm_update_property’
defined but not used [-Werror=unused-function]

Fix this by making empty function implementation inline

Fixes: e27fbe16af5c ("MIPS: cm: Detect CM quirks from device tree")
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/mips/include/asm/mips-cm.h