Changeset 50c57df in mainline for uspace/lib/drv/include/hw_res.h


Ignore:
Timestamp:
2011-01-09T17:40:10Z (13 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
41b56084
Parents:
36a6e11
Message:

Rename driver op structures for consistency.

File:
1 moved

Legend:

Unmodified
Added
Removed
  • uspace/lib/drv/include/hw_res.h

    r36a6e11 r50c57df  
    3333 */
    3434
    35 #ifndef LIBDRV_RESOURCE_H_
    36 #define LIBDRV_RESOURCE_H_
     35#ifndef LIBDRV_HW_RES_H_
     36#define LIBDRV_HW_RES_H_
    3737
    3838#include <device/hw_res.h>
    3939#include <sys/types.h>
    4040
    41 typedef struct resource_iface {
    42          hw_resource_list_t *(* get_resources)(device_t *);
     41typedef struct {
     42         hw_resource_list_t *(*get_resource_list)(device_t *);
    4343         bool (*enable_interrupt)(device_t *);
    44 } resource_iface_t;
    45 
     44} hw_res_ops_t;
    4645
    4746#endif
Note: See TracChangeset for help on using the changeset viewer.