mirror of
https://github.com/torvalds/linux.git
synced 2026-06-03 03:53:37 +02:00
MIPS: cm: Fix warning if MIPS_CM is disabled
Commite27fbe16af("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:e27fbe16af("MIPS: cm: Detect CM quirks from device tree") Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
This commit is contained in:
parent
ae2b6c6850
commit
b73c3ccdca
|
|
@ -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
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user