Changeset af6b5157 in mainline for uspace/lib/drv/generic/driver.c


Ignore:
Timestamp:
2011-02-15T20:09:24Z (14 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
2a770a35
Parents:
83a2f43
Message:

Split driver.h into ddf/driver.h and ddf/interrupt.h.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/drv/generic/driver.c

    r83a2f43 raf6b5157  
    5050#include <errno.h>
    5151#include <inttypes.h>
     52#include <devman.h>
    5253
    5354#include <ipc/driver.h>
    5455
    5556#include "dev_iface.h"
    56 #include "driver.h"
     57#include "ddf/driver.h"
     58#include "ddf/interrupt.h"
    5759
    5860/** Driver structure */
     
    7981static ddf_dev_t *create_device(void);
    8082static void delete_device(ddf_dev_t *);
     83static remote_handler_t *function_get_default_handler(ddf_fun_t *);
     84static void *function_get_ops(ddf_fun_t *, dev_inferface_idx_t);
    8185
    8286static void driver_irq_handler(ipc_callid_t iid, ipc_call_t *icall)
     
    570574}
    571575
    572 void *function_get_ops(ddf_fun_t *fun, dev_inferface_idx_t idx)
     576static void *function_get_ops(ddf_fun_t *fun, dev_inferface_idx_t idx)
    573577{
    574578        assert(is_valid_iface_idx(idx));
     
    638642
    639643/** Get default handler for client requests */
    640 remote_handler_t *function_get_default_handler(ddf_fun_t *fun)
     644static remote_handler_t *function_get_default_handler(ddf_fun_t *fun)
    641645{
    642646        if (fun->ops == NULL)
Note: See TracChangeset for help on using the changeset viewer.