Index: uspace/drv/platform/ski/ski.c
===================================================================
--- uspace/drv/platform/ski/ski.c	(revision 25b853ccda3ce00185615bd0ae2d9ee1d2094374)
+++ uspace/drv/platform/ski/ski.c	(revision b7fd2a02e4161f4edd38548e7f8456b8021549be)
@@ -46,5 +46,5 @@
 #define NAME "ski"
 
-static int ski_dev_add(ddf_dev_t *dev);
+static errno_t ski_dev_add(ddf_dev_t *dev);
 
 static driver_ops_t ski_ops = {
@@ -57,10 +57,10 @@
 };
 
-static int ski_add_fun(ddf_dev_t *dev, const char *name, const char *str_match_id)
+static errno_t ski_add_fun(ddf_dev_t *dev, const char *name, const char *str_match_id)
 {
 	ddf_msg(LVL_NOTE, "Adding function '%s'.", name);
 
 	ddf_fun_t *fnode = NULL;
-	int rc;
+	errno_t rc;
 
 	/* Create new device. */
@@ -94,7 +94,7 @@
 }
 
-static int ski_add_functions(ddf_dev_t *dev)
+static errno_t ski_add_functions(ddf_dev_t *dev)
 {
-	int rc;
+	errno_t rc;
 
 	rc = ski_add_fun(dev, "console", "ski/console");
@@ -106,5 +106,5 @@
 
 /** Add device. */
-static int ski_dev_add(ddf_dev_t *dev)
+static errno_t ski_dev_add(ddf_dev_t *dev)
 {
 	ddf_msg(LVL_NOTE, "ski_dev_add, device handle = %d",
@@ -121,5 +121,5 @@
 int main(int argc, char *argv[])
 {
-	int rc;
+	errno_t rc;
 
 	printf(NAME ": Ski platform driver\n");
