Index: uspace/lib/drv/include/ddf/driver.h
===================================================================
--- uspace/lib/drv/include/ddf/driver.h	(revision 1a5b2521ea58a25aa1f13d0850fa06ae93fba965)
+++ uspace/lib/drv/include/ddf/driver.h	(revision 4d94002d4fa05a47f00a4d66be68ebcea93e03e3)
@@ -81,4 +81,6 @@
 	 */
 	devman_handle_t handle;
+	/** Reference count */
+	atomic_t refcnt;
 	
 	/**
@@ -104,4 +106,6 @@
 	/** Function indentifier (asigned by device manager) */
 	devman_handle_t handle;
+	/** Reference count */
+	atomic_t refcnt;
 	
 	/** Device which this function belogs to */
