Changes in uspace/drv/root/root.c [6f9e7fea:9f6c5ef0] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/root/root.c
r6f9e7fea r9f6c5ef0 46 46 #include <ctype.h> 47 47 #include <macros.h> 48 #include <inttypes.h> 48 49 49 50 #include <driver.h> … … 86 87 87 88 int res = child_device_register_wrapper(parent, VIRTUAL_DEVICE_NAME, 88 VIRTUAL_DEVICE_MATCH_ID, VIRTUAL_DEVICE_MATCH_SCORE); 89 VIRTUAL_DEVICE_MATCH_ID, VIRTUAL_DEVICE_MATCH_SCORE, 90 NULL); 89 91 90 92 return res; … … 103 105 104 106 int res = child_device_register_wrapper(parent, PLATFORM_DEVICE_NAME, 105 PLATFORM_DEVICE_MATCH_ID, PLATFORM_DEVICE_MATCH_SCORE); 107 PLATFORM_DEVICE_MATCH_ID, PLATFORM_DEVICE_MATCH_SCORE, 108 NULL); 106 109 107 110 return res; … … 115 118 static int root_add_device(device_t *dev) 116 119 { 117 printf(NAME ": root_add_device, device handle = %d\n", dev->handle); 120 printf(NAME ": root_add_device, device handle=%" PRIun "\n", 121 dev->handle); 118 122 119 123 /*
Note:
See TracChangeset
for help on using the changeset viewer.