From 885fc78c28fbe773bcb4edc9dd0fdac05ebb5b38 Mon Sep 17 00:00:00 2001 From: Albin Tonnerre Date: Thu, 13 Aug 2009 15:31:12 +0200 Subject: Switch from per-driver to common definition of bin2bcd and bcd2bin Signed-off-by: Albin Tonnerre Acked-by: Stefan Roese --- include/rtc.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include/rtc.h') diff --git a/include/rtc.h b/include/rtc.h index 785fbe380..772a54884 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 + /* * The struct used to pass data from the generic interface code to * the hardware dependend low-level code ande vice versa. Identical -- cgit v1.2.3