Fixed Proc_ReturnToUser's dependence on the structure of tThread
[tpg/acess2.git] / Kernel / include / fs_devfs.h
index 54f4280..5589f4f 100644 (file)
@@ -20,11 +20,16 @@ typedef struct sDevFS_Driver
 
 // === FUNCTIONS ===
 /**
- * \fn int DevFS_AddDevice(tDevFS_Driver *Dev)
- * \brief Registers a device in the Device filesystem
- * \param Dev  Pointer to a persistant structure that represents the driver
+ * \fn int DevFS_AddDevice(tDevFS_Driver *Device)
+ * \brief Registers a device in the Device Filesystem
+ * \param Device       Pointer to a persistant structure that represents the driver
  * \return Boolean success
  */
-extern int     DevFS_AddDevice(tDevFS_Driver *Dev);
+extern int     DevFS_AddDevice(tDevFS_Driver *Device);
+
+/**
+ * \brief Unregisters a device with the Device Filesystem
+ */
+extern void    DevFS_DelDevice(tDevFS_Driver *Device);
 
 #endif

UCC git Repository :: git.ucc.asn.au