diff options
author | Joel Sherrill <joel.sherrill@oarcorp.com> | 2014-10-20 14:36:49 -0500 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@oarcorp.com> | 2014-10-20 14:36:49 -0500 |
commit | 3532ff91ec879eb560aaf78069e4fa49bcda1e18 (patch) | |
tree | c73480be8890622ec50bd72f21540ad9333935c1 /c/src/lib/libbsp/shared/clockdrv_shell.h | |
parent | powerpc/qoriq/include/bsp.h: Add prototypes to fix warnings (diff) | |
download | rtems-3532ff91ec879eb560aaf78069e4fa49bcda1e18.tar.bz2 |
shared/clockdrv_shell.h: Always include <rtems/clockdrv.h> to avoid warnings
Diffstat (limited to '')
-rw-r--r-- | c/src/lib/libbsp/shared/clockdrv_shell.h | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/c/src/lib/libbsp/shared/clockdrv_shell.h b/c/src/lib/libbsp/shared/clockdrv_shell.h index 324e1e5351..5dbea1335f 100644 --- a/c/src/lib/libbsp/shared/clockdrv_shell.h +++ b/c/src/lib/libbsp/shared/clockdrv_shell.h @@ -7,7 +7,7 @@ */ /* - * COPYRIGHT (c) 1989-2012. + * COPYRIGHT (c) 1989-2014. * On-Line Applications Research Corporation (OAR). * * The license and distribution terms for this file may be @@ -18,6 +18,7 @@ #include <stdlib.h> #include <bsp.h> +#include <rtems/clockdrv.h> /** * @defgroup bsp_clock Clock Support @@ -58,10 +59,6 @@ void Clock_exit( void ); * This is the clock tick interrupt handler. * * @param vector Vector number. - * - * Output parameters: NONE - * - * Return values: NONE */ #if defined(BSP_FEATURE_IRQ_EXTENSION) || \ (CPU_SIMPLE_VECTORED_INTERRUPTS != TRUE) @@ -123,15 +120,7 @@ rtems_isr Clock_isr( * * This routine allows the clock driver to exit by masking the interrupt and * disabling the clock's counter. - * - * Input parameters: NONE - * - * Output parameters: NONE - * - * Return values: NONE - * */ - void Clock_exit( void ) { Clock_driver_support_shutdown_hardware(); @@ -150,7 +139,6 @@ void Clock_exit( void ) * * @retval rtems_device_driver status code */ - rtems_device_driver Clock_initialize( rtems_device_major_number major, rtems_device_minor_number minor, |