X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=arch%2Farm%2Fmach-orion5x%2Ftimer.c;h=077eb63e74e974313db97fa6525f0a4a330d0ff3;hb=60f1cc529ccc364e8374945a06ff2f7a2c54fb1e;hp=6aaf94ae0872c781310c7aa7c5fdac38eb38dcb2;hpb=6180ea7e663893cb7330219367252cba471bf225;p=oweals%2Fu-boot.git diff --git a/arch/arm/mach-orion5x/timer.c b/arch/arm/mach-orion5x/timer.c index 6aaf94ae08..077eb63e74 100644 --- a/arch/arm/mach-orion5x/timer.c +++ b/arch/arm/mach-orion5x/timer.c @@ -8,6 +8,7 @@ */ #include +#include #include #define UBOOT_CNTR 0 /* counter to use for uboot timer */ @@ -164,7 +165,7 @@ unsigned long long get_ticks(void) * This function is derived from PowerPC code (timebase clock frequency). * On ARM it returns the number of timer ticks per second. */ -ulong get_tbclk (void) +ulong get_tbclk(void) { return (ulong)CONFIG_SYS_HZ; }