[PATCH 06/19] beatnik/network/porting/if_xxx_rtems.c: Do not use rtems_clock_get()
Joel Sherrill
joel.sherrill at oarcorp.com
Mon Mar 16 20:29:23 UTC 2015
---
c/src/lib/libbsp/powerpc/beatnik/network/porting/if_xxx_rtems.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/c/src/lib/libbsp/powerpc/beatnik/network/porting/if_xxx_rtems.c b/c/src/lib/libbsp/powerpc/beatnik/network/porting/if_xxx_rtems.c
index b0f90f3..fe15f97 100644
--- a/c/src/lib/libbsp/powerpc/beatnik/network/porting/if_xxx_rtems.c
+++ b/c/src/lib/libbsp/powerpc/beatnik/network/porting/if_xxx_rtems.c
@@ -135,7 +135,7 @@ NET_EMBEMB(rtems_,NETDRIVER_PREFIX,_attach)
}
if ( !net_driver_ticks_per_sec )
- rtems_clock_get( RTEMS_CLOCK_GET_TICKS_PER_SECOND, &net_driver_ticks_per_sec );
+ net_driver_ticks_per_sec = rtems_clock_get_ticks_per_second();
sc = device_get_softc( dev );
ifp = &sc->arpcom.ac_if;
--
1.9.3
More information about the devel
mailing list