]> www.infradead.org Git - users/jedix/linux-maple.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)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Wed, 19 Mar 2025 09:22:40 +0000 (10:22 +0100)
commitb73c3ccdca95c237750c981054997c71d33e09d7
treec62a93d4c3a408fc84dd1541b9f1d74114d5897d
parentae2b6c6850561926a2a18c3b725b0917f11bc7e6
MIPS: cm: Fix warning if MIPS_CM is disabled

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>
arch/mips/include/asm/mips-cm.h