Commit b73c3ccd authored by Thomas Bogendoerfer's avatar Thomas Bogendoerfer
Browse files

MIPS: cm: Fix warning if MIPS_CM is disabled



Commit e27fbe16 ("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: e27fbe16 ("MIPS: cm: Detect CM quirks from device tree")
Signed-off-by: default avatarThomas Bogendoerfer <tsbogend@alpha.franken.de>
parent ae2b6c68
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -116,7 +116,7 @@ static inline bool mips_cm_present(void)
#ifdef CONFIG_MIPS_CM
extern void mips_cm_update_property(void);
#else
static void mips_cm_update_property(void) {}
static inline void mips_cm_update_property(void) {}
#endif

/**