From bb99cd0d83ae32e1f222bf2c8235a8f95128815d Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Thu, 5 Dec 2019 19:22:33 +0100 Subject: clock: Simplify driver initialization Use a system initialization handler instead of a legacy IO driver. Update #3834. --- bsps/no_cpu/no_bsp/clock/ckinit.c | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) (limited to 'bsps/no_cpu/no_bsp') diff --git a/bsps/no_cpu/no_bsp/clock/ckinit.c b/bsps/no_cpu/no_bsp/clock/ckinit.c index 1d680fe355..ef24c8fbe0 100644 --- a/bsps/no_cpu/no_bsp/clock/ckinit.c +++ b/bsps/no_cpu/no_bsp/clock/ckinit.c @@ -109,19 +109,7 @@ void Clock_exit( void ) /* XXX: If necessary, restore the old vector */ } -/* - * Clock_initialize - * - * Device driver entry point for clock tick driver initialization. - */ -rtems_device_driver Clock_initialize( - rtems_device_major_number major, - rtems_device_minor_number minor, - void *pargp -) +void _Clock_Initialize( void ) { Install_clock( Clock_isr ); - - return RTEMS_SUCCESSFUL; } - -- cgit v1.2.3