Modules/USB - Made HIDMouse a folder
authorJohn Hodge <[email protected]>
Fri, 17 Feb 2012 09:22:19 +0000 (17:22 +0800)
committerJohn Hodge <[email protected]>
Fri, 17 Feb 2012 09:22:19 +0000 (17:22 +0800)
KernelLand/Modules/USB/HID/mouse.c

index d590b32..d34ee27 100644 (file)
@@ -76,7 +76,10 @@ tVFS_NodeType        gHID_Mouse_DevNodeType = {
 };
 tDevFS_Driver  gHID_Mouse_DevFS = {
        .Name = "USBMouse",
-       .RootNode = {.Type = &gHID_Mouse_RootNodeType}
+       .RootNode = {
+               .Type = &gHID_Mouse_RootNodeType,
+               .Flags = VFS_FFLAG_DIRECTORY
+       }
 };
 tHID_ReportCallbacks   gHID_Mouse_ReportCBs = {
        .Collection = HID_Mouse_Report_Collection,

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