diff options
Diffstat (limited to 'bsps/bfin/shared/dev/clock.c')
-rw-r--r-- | bsps/bfin/shared/dev/clock.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/bsps/bfin/shared/dev/clock.c b/bsps/bfin/shared/dev/clock.c index 75cd139e52..4d500f6ccb 100644 --- a/bsps/bfin/shared/dev/clock.c +++ b/bsps/bfin/shared/dev/clock.c @@ -53,16 +53,7 @@ static void Clock_exit(void) *(uint32_t volatile *) TCNTL = 0; } -/* - * Clock_initialize - * - * This routine initializes the clock driver. - */ -rtems_device_driver Clock_initialize( - rtems_device_major_number major, - rtems_device_minor_number minor, - void *pargp -) +void _Clock_Initialize( void ) { Clock_driver_ticks = 0; @@ -75,6 +66,4 @@ rtems_device_driver Clock_initialize( *(uint32_t volatile *) TCNTL = TCNTL_TMPWR | TCNTL_TAUTORLD | TCNTL_TMREN; atexit(Clock_exit); - - return RTEMS_SUCCESSFUL; } |