Index: uspace/drv/platform/sun4u/sun4u.c
===================================================================
--- uspace/drv/platform/sun4u/sun4u.c	(revision cde999aca79219e8751af76502001a86d411d176)
+++ uspace/drv/platform/sun4u/sun4u.c	(revision 55958412df6b000da41325bf219018aabc44bde9)
@@ -77,5 +77,5 @@
 } sun4u_fun_t;
 
-static int sun4u_dev_add(ddf_dev_t *dev);
+static errno_t sun4u_dev_add(ddf_dev_t *dev);
 static void sun4u_init(void);
 
@@ -159,5 +159,5 @@
 }
 
-static int sun4u_enable_interrupt(ddf_fun_t *fun, int irq)
+static errno_t sun4u_enable_interrupt(ddf_fun_t *fun, int irq)
 {
 	/* TODO */
@@ -193,5 +193,5 @@
 	
 	ddf_fun_t *fnode = NULL;
-	int rc;
+	errno_t rc;
 	
 	/* Create new device. */
@@ -242,5 +242,5 @@
  * @return		Zero on success, error number otherwise.
  */
-static int sun4u_dev_add(ddf_dev_t *dev)
+static errno_t sun4u_dev_add(ddf_dev_t *dev)
 {
 	ddf_msg(LVL_DEBUG, "sun4u_dev_add, device handle = %d",
