Changeset af6b5157 in mainline for uspace/lib/drv/generic/driver.c
- Timestamp:
- 2011-02-15T20:09:24Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 2a770a35
- Parents:
- 83a2f43
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/drv/generic/driver.c
r83a2f43 raf6b5157 50 50 #include <errno.h> 51 51 #include <inttypes.h> 52 #include <devman.h> 52 53 53 54 #include <ipc/driver.h> 54 55 55 56 #include "dev_iface.h" 56 #include "driver.h" 57 #include "ddf/driver.h" 58 #include "ddf/interrupt.h" 57 59 58 60 /** Driver structure */ … … 79 81 static ddf_dev_t *create_device(void); 80 82 static void delete_device(ddf_dev_t *); 83 static remote_handler_t *function_get_default_handler(ddf_fun_t *); 84 static void *function_get_ops(ddf_fun_t *, dev_inferface_idx_t); 81 85 82 86 static void driver_irq_handler(ipc_callid_t iid, ipc_call_t *icall) … … 570 574 } 571 575 572 void *function_get_ops(ddf_fun_t *fun, dev_inferface_idx_t idx)576 static void *function_get_ops(ddf_fun_t *fun, dev_inferface_idx_t idx) 573 577 { 574 578 assert(is_valid_iface_idx(idx)); … … 638 642 639 643 /** Get default handler for client requests */ 640 remote_handler_t *function_get_default_handler(ddf_fun_t *fun)644 static remote_handler_t *function_get_default_handler(ddf_fun_t *fun) 641 645 { 642 646 if (fun->ops == NULL)
Note:
See TracChangeset
for help on using the changeset viewer.