You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
[MIPS] Clocksource: Only install r4k counter as clocksource if present.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
@@ -64,10 +64,11 @@ static inline int mips_clockevent_init(void)
|
||||
* Initialize the count register as a clocksource
|
||||
*/
|
||||
#ifdef CONFIG_CEVT_R4K
|
||||
extern void init_mips_clocksource(void);
|
||||
extern int init_mips_clocksource(void);
|
||||
#else
|
||||
static inline void init_mips_clocksource(void)
|
||||
static inline int init_mips_clocksource(void)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user