summaryrefslogtreecommitdiffstats
path: root/c/src/exec/sapi/include/confdefs.h
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2001-04-16 20:32:16 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2001-04-16 20:32:16 +0000
commit1d4bac927a9ef0fc91f4d370e46ab953c3ace6bf (patch)
treeb95f7e9d49fdf435404dbc890fabcb8017d6e64c /c/src/exec/sapi/include/confdefs.h
parent2001-04-16 Joel Sherrill <joel@OARcorp.com> (diff)
downloadrtems-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.h7
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