]> 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:44:40 +0000 (07:44 +0200)
commitd2e15c2fd9130db1e9845ccb006fd0e5218ac0a5
tree37a4dbb30cba9110e9dd50cdf717402d18ee0b2a
parentc82ca029b29fd7744cbadc9b5b4038b344d7b03f
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