X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=arch%2Farm%2Finclude%2Fasm%2Flocaltimer.h;h=080d74f8128d4a4a5feb10b579aa42f5d757439f;hb=b32e3dc7860d00124fa432dba09667e647cb9bcc;hp=6bc63ab498ce45d3c343a4b51f4b26790c8640ee;hpb=466c19063b4b426d5c362572787cb249fbf4296b;p=pandora-kernel.git diff --git a/arch/arm/include/asm/localtimer.h b/arch/arm/include/asm/localtimer.h index 6bc63ab498ce..080d74f8128d 100644 --- a/arch/arm/include/asm/localtimer.h +++ b/arch/arm/include/asm/localtimer.h @@ -44,8 +44,14 @@ int local_timer_ack(void); /* * Setup a local timer interrupt for a CPU. */ -void local_timer_setup(struct clock_event_device *); +int local_timer_setup(struct clock_event_device *); +#else + +static inline int local_timer_setup(struct clock_event_device *evt) +{ + return -ENXIO; +} #endif #endif