summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libcpu/arm
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@oarcorp.com>2014-10-12 15:37:33 -0500
committerJoel Sherrill <joel.sherrill@oarcorp.com>2014-10-13 10:33:33 -0500
commitda71123605d0afd37138542ca2527fddf5529350 (patch)
tree685ffd25f288c6ed5f48e5d4e201f33ea30e7410 /c/src/lib/libcpu/arm
parentlibcpu/arm/pxa255/clock/clock.c: Fix warnings (diff)
downloadrtems-da71123605d0afd37138542ca2527fddf5529350.tar.bz2
libcpu/arm/s3c24xx/clock/clockdrv.c: Fix warnings
Diffstat (limited to 'c/src/lib/libcpu/arm')
-rw-r--r--c/src/lib/libcpu/arm/s3c24xx/clock/clockdrv.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/c/src/lib/libcpu/arm/s3c24xx/clock/clockdrv.c b/c/src/lib/libcpu/arm/s3c24xx/clock/clockdrv.c
index 4a32db7761..519d3f850d 100644
--- a/c/src/lib/libcpu/arm/s3c24xx/clock/clockdrv.c
+++ b/c/src/lib/libcpu/arm/s3c24xx/clock/clockdrv.c
@@ -1,9 +1,8 @@
/*
* S3C2400 clock specific using the System Timer
- *
- * This is hardware specific part of the clock driver. At the end of this
- * file, the generic part of the driver is #included.
- *
+ */
+
+/*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.rtems.org/license/LICENSE.
@@ -31,7 +30,7 @@ rtems_irq_connect_data clock_isr_data = {
/**
* Return the nanoseconds since last tick
*/
-uint32_t clock_driver_get_nanoseconds_since_last_tick(void)
+static uint32_t clock_driver_get_nanoseconds_since_last_tick(void)
{
return 0;
}
@@ -129,6 +128,7 @@ static void clock_isr_off(const rtems_irq_connect_data *unused)
*/
static int clock_isr_is_on(const rtems_irq_connect_data *irq)
{
+ return 1;
}
/* Make sure to include this, and only at the end of the file */