Changes in uspace/drv/infrastructure/rootpc/rootpc.c [e882e3a:5203e256] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/infrastructure/rootpc/rootpc.c
re882e3a r5203e256 48 48 #include <ddf/driver.h> 49 49 #include <ddf/log.h> 50 #include <devman.h> 51 #include <ipc/devman.h> 50 52 #include <ipc/dev_iface.h> 51 53 #include <ops/hw_res.h> … … 61 63 } rootpc_fun_t; 62 64 63 static int rootpc_ dev_add(ddf_dev_t *dev);65 static int rootpc_add_device(ddf_dev_t *dev); 64 66 static void root_pc_init(void); 65 67 66 68 /** The root device driver's standard operations. */ 67 69 static driver_ops_t rootpc_ops = { 68 . dev_add = &rootpc_dev_add70 .add_device = &rootpc_add_device 69 71 }; 70 72 … … 107 109 108 110 static hw_res_ops_t fun_hw_res_ops = { 109 .get_resource_list =&rootpc_get_resources,110 .enable_interrupt = &rootpc_enable_interrupt,111 &rootpc_get_resources, 112 &rootpc_enable_interrupt 111 113 }; 112 114 … … 173 175 * @return Zero on success, negative error number otherwise. 174 176 */ 175 static int rootpc_ dev_add(ddf_dev_t *dev)176 { 177 ddf_msg(LVL_DEBUG, "rootpc_ dev_add, device handle = %d",177 static int rootpc_add_device(ddf_dev_t *dev) 178 { 179 ddf_msg(LVL_DEBUG, "rootpc_add_device, device handle = %d", 178 180 (int)dev->handle); 179 181
Note:
See TracChangeset
for help on using the changeset viewer.