summaryrefslogtreecommitdiffstats
path: root/bsps/shared/dev/rtc/rtcprobe.c
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2018-04-03 07:20:11 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2018-04-04 10:13:28 +0200
commit27de4e1fb8bcdbdd8cb882fc0d7a2c152b4e027a (patch)
treedef0664dcddc53fd5d599b455c64f76ca2293606 /bsps/shared/dev/rtc/rtcprobe.c
parentbsps: Move config macros to RTEMS_BSP_CONFIGURE (diff)
downloadrtems-27de4e1fb8bcdbdd8cb882fc0d7a2c152b4e027a.tar.bz2
bsps: Move libchip to bsps
This patch is a part of the BSP source reorganization. Update #3285.
Diffstat (limited to 'bsps/shared/dev/rtc/rtcprobe.c')
-rw-r--r--bsps/shared/dev/rtc/rtcprobe.c21
1 files changed, 21 insertions, 0 deletions
diff --git a/bsps/shared/dev/rtc/rtcprobe.c b/bsps/shared/dev/rtc/rtcprobe.c
new file mode 100644
index 0000000000..71472ffd7c
--- /dev/null
+++ b/bsps/shared/dev/rtc/rtcprobe.c
@@ -0,0 +1,21 @@
+/*
+ * This file contains the default Real-Time Clock probe routine.
+ *
+ * COPYRIGHT (c) 1989-1999.
+ * On-Line Applications Research Corporation (OAR).
+ *
+ * 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.
+ */
+
+#include <rtems.h>
+#include <libchip/rtc.h>
+
+
+bool rtc_probe(
+ int minor
+)
+{
+ return true;
+}