Changeset 98000fb in mainline for kernel/arch/sparc64/src/drivers


Ignore:
Timestamp:
2009-06-03T19:34:45Z (17 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
301ff30
Parents:
69e68e3
Message:

remove redundant index_t and count_t types (which were always quite ambiguous and not actually needed)

Location:
kernel/arch/sparc64/src/drivers
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/sparc64/src/drivers/fhc.c

    r69e68e3 r98000fb  
    7272                return NULL;
    7373               
    74         count_t regs = prop->size / sizeof(ofw_central_reg_t);
     74        size_t regs = prop->size / sizeof(ofw_central_reg_t);
    7575        if (regs + 1 < UART_IMAP_REG)
    7676                return NULL;
  • kernel/arch/sparc64/src/drivers/pci.c

    r69e68e3 r98000fb  
    9292
    9393        ofw_upa_reg_t *reg = prop->value;
    94         count_t regs = prop->size / sizeof(ofw_upa_reg_t);
     94        size_t regs = prop->size / sizeof(ofw_upa_reg_t);
    9595
    9696        if (regs < SABRE_INTERNAL_REG + 1)
     
    139139
    140140        ofw_upa_reg_t *reg = prop->value;
    141         count_t regs = prop->size / sizeof(ofw_upa_reg_t);
     141        size_t regs = prop->size / sizeof(ofw_upa_reg_t);
    142142
    143143        if (regs < PSYCHO_INTERNAL_REG + 1)
Note: See TracChangeset for help on using the changeset viewer.