Ignore:
Timestamp:
2012-04-18T20:55:21Z (14 years ago)
Author:
Maurizio Lombardi <m.lombardi85@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/fix-logger-deadlock, topic/msim-upgrade, topic/simplify-dev-export
Children:
7769ec9
Parents:
e895352 (diff), 63920b0 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

merge mainline changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/infrastructure/rootpc/rootpc.c

    re895352 r49ff5f3  
    4848#include <ddf/driver.h>
    4949#include <ddf/log.h>
    50 #include <devman.h>
    51 #include <ipc/devman.h>
    5250#include <ipc/dev_iface.h>
    5351#include <ops/hw_res.h>
     
    6361} rootpc_fun_t;
    6462
    65 static int rootpc_add_device(ddf_dev_t *dev);
     63static int rootpc_dev_add(ddf_dev_t *dev);
    6664static void root_pc_init(void);
    6765
    6866/** The root device driver's standard operations. */
    6967static driver_ops_t rootpc_ops = {
    70         .add_device = &rootpc_add_device
     68        .dev_add = &rootpc_dev_add
    7169};
    7270
     
    109107
    110108static hw_res_ops_t fun_hw_res_ops = {
    111         &rootpc_get_resources,
    112         &rootpc_enable_interrupt
     109        .get_resource_list = &rootpc_get_resources,
     110        .enable_interrupt = &rootpc_enable_interrupt,
    113111};
    114112
     
    175173 * @return              Zero on success, negative error number otherwise.
    176174 */
    177 static int rootpc_add_device(ddf_dev_t *dev)
    178 {
    179         ddf_msg(LVL_DEBUG, "rootpc_add_device, device handle = %d",
     175static int rootpc_dev_add(ddf_dev_t *dev)
     176{
     177        ddf_msg(LVL_DEBUG, "rootpc_dev_add, device handle = %d",
    180178            (int)dev->handle);
    181179       
Note: See TracChangeset for help on using the changeset viewer.