]> 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:47:09 +0000 (07:47 +0200)
commit48600cbc4b5bbb51bd73f94fb70dea44662b442f
tree4a3864924938496a97f5c7124d41602a4501293d
parentae43d74d458220b6622cc1e5f24790e5aeaec624
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