diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2019-12-05 15:51:17 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2019-12-11 09:04:49 +0100 |
commit | a6b2080e1c1e756403e80eb0bb658af6a1a88a89 (patch) | |
tree | efb7bc37d74768a8dc8a13371aec65e165c0c467 /bsps/bfin | |
parent | score: Optimize _Per_CPU_Get_index() (diff) | |
download | rtems-a6b2080e1c1e756403e80eb0bb658af6a1a88a89.tar.bz2 |
clock: Remove Clock_exit() from API
This function is no longer supported by the standard clock driver
implementation (clockimpl.h).
Update #3436.
Diffstat (limited to 'bsps/bfin')
-rw-r--r-- | bsps/bfin/shared/dev/clock.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/bsps/bfin/shared/dev/clock.c b/bsps/bfin/shared/dev/clock.c index 3463858b39..75cd139e52 100644 --- a/bsps/bfin/shared/dev/clock.c +++ b/bsps/bfin/shared/dev/clock.c @@ -29,8 +29,6 @@ volatile uint32_t Clock_driver_ticks; -void Clock_exit(void); - static rtems_isr clockISR(rtems_vector_number vector) { Clock_driver_ticks += 1; @@ -50,7 +48,7 @@ static rtems_isr clockISR(rtems_vector_number vector) { * This routine allows the clock driver to exit by masking the interrupt and * disabling the clock's counter. */ -void Clock_exit(void) +static void Clock_exit(void) { *(uint32_t volatile *) TCNTL = 0; } |