diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2001-04-16 20:32:16 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2001-04-16 20:32:16 +0000 |
commit | 1d4bac927a9ef0fc91f4d370e46ab953c3ace6bf (patch) | |
tree | b95f7e9d49fdf435404dbc890fabcb8017d6e64c /c/src/exec/sapi/include/confdefs.h | |
parent | 2001-04-16 Joel Sherrill <joel@OARcorp.com> (diff) | |
download | rtems-1d4bac927a9ef0fc91f4d370e46ab953c3ace6bf.tar.bz2 |
2001-04-16 Joel Sherrill <joel@OARcorp.com>
* include/confdefs.h: Fix real-time clock support.
Diffstat (limited to 'c/src/exec/sapi/include/confdefs.h')
-rw-r--r-- | c/src/exec/sapi/include/confdefs.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/c/src/exec/sapi/include/confdefs.h b/c/src/exec/sapi/include/confdefs.h index fbfdb03732..0dda508462 100644 --- a/c/src/exec/sapi/include/confdefs.h +++ b/c/src/exec/sapi/include/confdefs.h @@ -269,6 +269,10 @@ rtems_initialization_tasks_table Initialization_tasks[] = { #include <timerdrv.h> #endif +#ifdef CONFIGURE_APPLICATION_NEEDS_RTC_DRIVER +#include <rtc.h> +#endif + #ifdef CONFIGURE_APPLICATION_NEEDS_STUB_DRIVER #include <rtems/devnull.h> #endif @@ -283,6 +287,9 @@ rtems_driver_address_table Device_drivers[] = { #ifdef CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER CLOCK_DRIVER_TABLE_ENTRY, #endif +#ifdef CONFIGURE_APPLICATION_NEEDS_RTC_DRIVER + RTC_DRIVER_TABLE_ENTRY, +#endif #ifdef CONFIGURE_APPLICATION_NEEDS_STUB_DRIVER DEVNULL_DRIVER_TABLE_ENTRY, #endif |