Include asm/time.h in cevt-r4k.h
PATCH 1/1 Include asm/time.h in cevt-r4k.h
From: Anoop P A <[email protected]>
Following error occurs when compiling files which includes asm/cevt-r4k.h
arch/mips/include/asm/cevt-r4k.h:21:56: error: 'enum clock_event_mode' declared inside parameter list arch/mips/include/asm/cevt-r4k.h:21:56: error: its scope is only this definition or declaration, which is probably not what you want
This left unnoticed since we will not see this error if we include time.h before cevt-r4k.h .
Signed-off-by Anoop P A <[email protected]>
--- arch/mips/include/asm/cevt-r4k.h | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)
arch/mips/include/asm/cevt-r4k.h +2 -0
@@ -14,6 +14,8 @@#ifndef __ASM_CEVT_R4K_H#define __ASM_CEVT_R4K_H +#include <asm/time.h> + DECLARE_PER_CPU(struct clock_event_device, mips_clockevent_device);void mips_event_handler (struct clock_event_device *dev);
Signature · 1 line
1.7.0.4