X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=Modules%2FUSB%2FCore%2Fmain.c;h=712f6028f2b3fbdd6503dcfda4061c63828e4f35;hb=adbdc45e64c40f7d3a022caedeb22f5e95dcd12a;hp=51cd38ea1ed8d7e011563e37065422ae8a3a4684;hpb=e939fc0ced4d445c24696636fe660dddbe035b1c;p=tpg%2Facess2.git diff --git a/Modules/USB/Core/main.c b/Modules/USB/Core/main.c index 51cd38ea..712f6028 100644 --- a/Modules/USB/Core/main.c +++ b/Modules/USB/Core/main.c @@ -17,11 +17,11 @@ extern int UHCI_Initialise(void); int USB_Install(char **Arguments); void USB_Cleanup(void); char *USB_ReadDir(tVFS_Node *Node, int Pos); -tVFS_Node *USB_FindDir(tVFS_Node *Node, char *Name); +tVFS_Node *USB_FindDir(tVFS_Node *Node, const char *Name); int USB_IOCtl(tVFS_Node *Node, int Id, void *Data); // === GLOBALS === -MODULE_DEFINE(0, VERSION, USB, USB_Install, NULL, NULL); +MODULE_DEFINE(0, VERSION, USB_Core, USB_Install, NULL, NULL); tDevFS_Driver gUSB_DrvInfo = { NULL, "usb", { .NumACLs = 1, @@ -65,10 +65,10 @@ char *USB_ReadDir(tVFS_Node *Node, int Pos) } /** - * \fn tVFS_Node *USB_FindDir(tVFS_Node *Node, char *Name) + * \fn tVFS_Node *USB_FindDir(tVFS_Node *Node, const char *Name) * \brief Locate an entry in the USB root */ -tVFS_Node *USB_FindDir(tVFS_Node *Node, char *Name) +tVFS_Node *USB_FindDir(tVFS_Node *Node, const char *Name) { return NULL; }