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