Skip to content

Commit b73c3cc

Browse files
committed
MIPS: cm: Fix warning if MIPS_CM is disabled
Commit e27fbe1 ("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: e27fbe1 ("MIPS: cm: Detect CM quirks from device tree") Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
1 parent ae2b6c6 commit b73c3cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/mips/include/asm/mips-cm.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ static inline bool mips_cm_present(void)
116116
#ifdef CONFIG_MIPS_CM
117117
extern void mips_cm_update_property(void);
118118
#else
119-
static void mips_cm_update_property(void) {}
119+
static inline void mips_cm_update_property(void) {}
120120
#endif
121121

122122
/**

0 commit comments

Comments
 (0)