Changeset 83a2f43 in mainline for uspace/drv/root/root.c


Ignore:
Timestamp:
2011-02-15T19:43:50Z (13 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
af6b5157
Parents:
34588a80
Message:

Rename bunch of stuff so that it starts with 'ddf_'.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/root/root.c

    r34588a80 r83a2f43  
    6565#define VIRTUAL_FUN_MATCH_SCORE 100
    6666
    67 static int root_add_device(device_t *dev);
     67static int root_add_device(ddf_dev_t *dev);
    6868
    6969/** The root device driver's standard operations. */
     
    8383 * @return      EOK on success or negative error code
    8484 */
    85 static int add_virtual_root_fun(device_t *dev)
     85static int add_virtual_root_fun(ddf_dev_t *dev)
    8686{
    8787        const char *name = VIRTUAL_FUN_NAME;
    88         function_t *fun;
     88        ddf_fun_t *fun;
    8989        int rc;
    9090
     
    123123 * @return      EOK on success or negative error code
    124124 */
    125 static int add_platform_fun(device_t *dev)
     125static int add_platform_fun(ddf_dev_t *dev)
    126126{
    127127        char *match_id;
     
    130130
    131131        const char *name = PLATFORM_FUN_NAME;
    132         function_t *fun;
     132        ddf_fun_t *fun;
    133133        int rc;
    134134
     
    189189 *                      of HW and pseudo devices).
    190190 */
    191 static int root_add_device(device_t *dev)
     191static int root_add_device(ddf_dev_t *dev)
    192192{
    193193        printf(NAME ": root_add_device, device handle=%" PRIun "\n",
     
    212212{
    213213        printf(NAME ": HelenOS root device driver\n");
    214         return driver_main(&root_driver);
     214        return ddf_driver_main(&root_driver);
    215215}
    216216
Note: See TracChangeset for help on using the changeset viewer.