summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAlbin Tonnerre <albin.tonnerre@free-electrons.com>2009-08-13 15:31:12 +0200
committerWolfgang Denk <wd@denx.de>2009-08-25 12:57:55 +0200
commit885fc78c28fbe773bcb4edc9dd0fdac05ebb5b38 (patch)
tree22c3dda04cb043c48f10917778f73992332f97d9 /include
parente84aba135ed7145299304ef550e92f08b2c99d7a (diff)
Switch from per-driver to common definition of bin2bcd and bcd2bin
Signed-off-by: Albin Tonnerre <albin.tonnerre@free-electrons.com> Acked-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'include')
-rw-r--r--include/rtc.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/rtc.h b/include/rtc.h
index 785fbe3807..772a548841 100644
--- a/include/rtc.h
+++ b/include/rtc.h
@@ -27,6 +27,11 @@
#ifndef _RTC_H_
#define _RTC_H_
+/* bcd<->bin functions are needed by almost all the RTC drivers, let's include
+ * it there instead of in evey single driver */
+
+#include <bcd.h>
+
/*
* The struct used to pass data from the generic interface code to
* the hardware dependend low-level code ande vice versa. Identical