Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/drv/generic/dev_iface.c

    r609243f4 r22027b6e  
    4141#include "remote_hw_res.h"
    4242#include "remote_char_dev.h"
    43 #include "remote_nic.h"
    44 #include "remote_usb.h"
    45 #include "remote_usbhc.h"
    46 #include "remote_usbhid.h"
    47 #include "remote_pci.h"
    4843
    4944static iface_dipatch_table_t remote_ifaces = {
    5045        .ifaces = {
    5146                &remote_hw_res_iface,
    52                 &remote_char_dev_iface,
    53                 &remote_nic_iface,
    54                 &remote_pci_iface,
    55                 &remote_usb_iface,
    56                 &remote_usbhc_iface,
    57                 &remote_usbhid_iface
     47                &remote_char_dev_iface
    5848        }
    5949};
     
    6858get_remote_method(remote_iface_t *rem_iface, sysarg_t iface_method_idx)
    6959{
    70         if (iface_method_idx >= rem_iface->method_count)
     60        if (iface_method_idx >= rem_iface->method_count) {
    7161                return NULL;
    72        
     62        }
     63
    7364        return rem_iface->methods[iface_method_idx];
    7465}
Note: See TracChangeset for help on using the changeset viewer.