Ignore:
File:
1 edited

Legend:

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

    r41b56084 rbe942bc  
    5353
    5454#include <driver.h>
    55 #include <ops/char_dev.h>
     55#include <char.h>
     56#include <resource.h>
    5657
    5758#include <devman.h>
     
    226227
    227228/** The character interface's callbacks. */
    228 static char_dev_ops_t ns8250_char_dev_ops = {
     229static char_iface_t ns8250_char_iface = {
    229230        .read = &ns8250_read,
    230231        .write = &ns8250_write
     
    346347       
    347348        /* Get hw resources. */
    348         ret = hw_res_get_resource_list(dev->parent_phone, &hw_resources);
     349        ret = get_hw_resources(dev->parent_phone, &hw_resources);
    349350        if (ret != EOK) {
    350351                printf(NAME ": failed to get hw resources for the device "
     
    393394        }
    394395       
    395         hw_res_clean_resource_list(&hw_resources);
     396        clean_hw_resource_list(&hw_resources);
    396397        return ret;
    397398       
    398399failed:
    399400        ns8250_dev_cleanup(dev);
    400         hw_res_clean_resource_list(&hw_resources);
     401        clean_hw_resource_list(&hw_resources);
    401402        return ret;
    402403}
     
    923924        ns8250_dev_ops.close = &ns8250_close;
    924925       
    925         ns8250_dev_ops.interfaces[CHAR_DEV_IFACE] = &ns8250_char_dev_ops;
     926        ns8250_dev_ops.interfaces[CHAR_DEV_IFACE] = &ns8250_char_iface;
    926927        ns8250_dev_ops.default_handler = &ns8250_default_handler;
    927928}
Note: See TracChangeset for help on using the changeset viewer.