Fix compilation issue caused by a missing function
PATCH 1/1 Fix compilation issue caused by a missing function
From: TsiChung Liew <[email protected]>
Implement usec2ticks() which is used by fsl_i2c.c in lib_m68k/time.c
Signed-off-by TsiChung Liew <[email protected]>
--- lib_m68k/time.c | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-)
lib_m68k/time.c +5 -0
@@ -199,6 +199,11 @@ unsigned long long get_ticks(void)return get_timer (0 ); } +unsigned long usec2ticks (unsigned long usec) +{ +return get_timer (usec); +} +/* * This function is derived from PowerPC code (timebase clock frequency). * On M68K it returns the number of timer ticks per second.
Signature · 1 line
1.5.6.4
Wolfgang Denk
AppliedPATCH 1/1 Fix compilation issue caused by a missing function
Quoted 9 lines · In message <[email protected]> you…
From: TsiChung Liew <[email protected]>
Implement
usec2ticks()which is used byfsl_i2c.cinlib_m68k/time.cSigned-off-by TsiChung Liew <[email protected]>--- lib_m68k/time.c | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-)
Applied, thanks.
Best regards,
Wolfgang Denk
Signature · 5 lines
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de War is never imperative. -- McCoy, "Balance of Terror", stardate 1709.2