summaryrefslogtreecommitdiffstats
path: root/drivers/rtc/rtc-core.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/rtc/rtc-core.h')
-rw-r--r--drivers/rtc/rtc-core.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/rtc/rtc-core.h b/drivers/rtc/rtc-core.h
index d81a278..5f9df74 100644
--- a/drivers/rtc/rtc-core.h
+++ b/drivers/rtc/rtc-core.h
@@ -2,6 +2,7 @@
extern void __init rtc_dev_init(void);
extern void __exit rtc_dev_exit(void);
+extern void rtc_dev_prepare(struct rtc_device *rtc);
extern void rtc_dev_add_device(struct rtc_device *rtc);
extern void rtc_dev_del_device(struct rtc_device *rtc);
@@ -15,6 +16,10 @@ static inline void rtc_dev_exit(void)
{
}
+static inline void rtc_dev_prepare(struct rtc_device *rtc)
+{
+}
+
static inline void rtc_dev_add_device(struct rtc_device *rtc)
{
}
OpenPOWER on IntegriCloud