X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=Kernel%2Finclude%2Ffs_devfs.h;h=5589f4f9435e10bcd203d6618a7e90f7145c6c41;hb=de2ae10743172075f2d527780bdfd890ccddb8e7;hp=54f4280d19245b761fbb1fbb664a32441f22e0ab;hpb=1e7db40300bc594cf708bb6082a6e05a268da946;p=tpg%2Facess2.git diff --git a/Kernel/include/fs_devfs.h b/Kernel/include/fs_devfs.h index 54f4280d..5589f4f9 100644 --- a/Kernel/include/fs_devfs.h +++ b/Kernel/include/fs_devfs.h @@ -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