diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2019-12-05 19:22:33 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2019-12-11 09:05:07 +0100 |
commit | bb99cd0d83ae32e1f222bf2c8235a8f95128815d (patch) | |
tree | 345350623f1913eb19e785bf671e02cc114cdfe0 /bsps/m68k/mvme167 | |
parent | clock: Remove Clock_exit() from API (diff) | |
download | rtems-bb99cd0d83ae32e1f222bf2c8235a8f95128815d.tar.bz2 |
clock: Simplify driver initialization
Use a system initialization handler instead of a legacy IO driver.
Update #3834.
Diffstat (limited to 'bsps/m68k/mvme167')
-rw-r--r-- | bsps/m68k/mvme167/clock/ckinit.c | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/bsps/m68k/mvme167/clock/ckinit.c b/bsps/m68k/mvme167/clock/ckinit.c index 8ae7234b8f..bf808435a5 100644 --- a/bsps/m68k/mvme167/clock/ckinit.c +++ b/bsps/m68k/mvme167/clock/ckinit.c @@ -1,7 +1,4 @@ /* - * Implementation of the Clock_initialize() functions - * prototyped in rtems/c/src/lib/include/clockdrv.h. - * * This port does not allow the application to select which timer on the * MVME167 to use for the clock, nor does it allow the application to * configure the clock. The clock uses the VMEchip2 Tick Timer #2. This @@ -147,13 +144,7 @@ void clock_exit( void ) set_vector( Old_ticker, CLOCK_VECTOR, 1 ); } -rtems_device_driver Clock_initialize( - rtems_device_major_number major, - rtems_device_minor_number minor, - void *pargp -) +void _Clock_Initialize( void ) { VMEchip2_T2_initialize(); - - return RTEMS_SUCCESSFUL; } |