mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-08-29 17:49:48 +08:00
shared/clockdrv_shell.h: Always include <rtems/clockdrv.h> to avoid warnings
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user