Ignore:
File:
1 edited

Legend:

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

    r6f9e7fea r9f6c5ef0  
    4646#include <ctype.h>
    4747#include <macros.h>
     48#include <inttypes.h>
    4849
    4950#include <driver.h>
     
    8687
    8788        int res = child_device_register_wrapper(parent, VIRTUAL_DEVICE_NAME,
    88             VIRTUAL_DEVICE_MATCH_ID, VIRTUAL_DEVICE_MATCH_SCORE);
     89            VIRTUAL_DEVICE_MATCH_ID, VIRTUAL_DEVICE_MATCH_SCORE,
     90            NULL);
    8991
    9092        return res;
     
    103105       
    104106        int res = child_device_register_wrapper(parent, PLATFORM_DEVICE_NAME,
    105             PLATFORM_DEVICE_MATCH_ID, PLATFORM_DEVICE_MATCH_SCORE);
     107            PLATFORM_DEVICE_MATCH_ID, PLATFORM_DEVICE_MATCH_SCORE,
     108            NULL);
    106109
    107110        return res;
     
    115118static int root_add_device(device_t *dev)
    116119{
    117         printf(NAME ": root_add_device, device handle = %d\n", dev->handle);
     120        printf(NAME ": root_add_device, device handle=%" PRIun "\n",
     121            dev->handle);
    118122       
    119123        /*
Note: See TracChangeset for help on using the changeset viewer.