Index: uspace/drv/time/rtc.c
===================================================================
--- uspace/drv/time/rtc.c	(revision c9f703bcef572525b7b64f9d1b678615bfbf1f14)
+++ uspace/drv/time/rtc.c	(revision 4863bb52d2de7a13a21dab7be2475975a848d49f)
@@ -36,10 +36,19 @@
  */
 
+#include <errno.h>
 #include <ddi.h>
 #include <stdio.h>
 #include <ddf/driver.h>
 #include <ddf/log.h>
+#include <ops/clock.h>
 
 #define NAME "RTC"
+
+static int
+rtc_time_get(ddf_fun_t *fun, time_t *t);
+
+static int
+rtc_time_set(ddf_fun_t *fun, time_t t);
+
 
 static ddf_dev_ops_t rtc_dev_ops;
@@ -48,4 +57,9 @@
 	.name = NAME,
 	.driver_ops = NULL,
+};
+
+static clock_dev_ops_t rtc_clock_dev_ops = {
+	.time_get = rtc_time_get,
+	.time_set = rtc_time_set,
 };
 
@@ -57,4 +71,6 @@
 } rtc_t;
 
+
+/** Initialize the RTC driver */
 static void
 rtc_init(void)
@@ -64,4 +80,19 @@
 	rtc_dev_ops.open = NULL;
 	rtc_dev_ops.close = NULL;
+
+	rtc_dev_ops.interfaces[CLOCK_DEV_IFACE] = &rtc_clock_dev_ops;
+	rtc_dev_ops.default_handler = NULL;
+}
+
+static int
+rtc_time_get(ddf_fun_t *fun, time_t *t)
+{
+	return EOK;
+}
+
+static int
+rtc_time_set(ddf_fun_t *fun, time_t t)
+{
+	return EOK;
 }
 
