Changeset d165fd2 in rtems


Ignore:
Timestamp:
Mar 21, 2016, 12:33:57 AM (3 years ago)
Author:
Joel Sherrill <joel@…>
Branches:
master
Children:
596bfe3b
Parents:
50b73d3
git-author:
Joel Sherrill <joel@…> (03/21/16 00:33:57)
git-committer:
Joel Sherrill <joel@…> (03/24/16 16:41:22)
Message:

erc32/*/erc32sonic.c: Fix warnings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/sparc/erc32/erc32sonic/erc32sonic.c

    r50b73d3 rd165fd2  
    2727#endif
    2828
    29 void erc32_sonic_write_register(
     29static void erc32_sonic_write_register(
    3030  void       *base,
    3131  uint32_t    regno,
     
    4343}
    4444
    45 uint32_t   erc32_sonic_read_register(
     45static uint32_t   erc32_sonic_read_register(
    4646  void       *base,
    4747  uint32_t    regno
     
    9999
    100100sonic_configuration_t erc32_sonic_configuration = {
    101   SONIC_BASE_ADDRESS,        /* base address */
    102   SONIC_VECTOR,              /* vector number */
    103   SONIC_DCR,                 /* DCR register value */
    104   SONIC_DC2,                 /* DC2 register value */
    105   TDA_COUNT,                 /* number of transmit descriptors */
    106   RDA_COUNT,                 /* number of receive descriptors */
     101  (void *)SONIC_BASE_ADDRESS, /* base address */
     102  SONIC_VECTOR,               /* vector number */
     103  SONIC_DCR,                  /* DCR register value */
     104  SONIC_DC2,                  /* DC2 register value */
     105  TDA_COUNT,                  /* number of transmit descriptors */
     106  RDA_COUNT,                  /* number of receive descriptors */
    107107  erc32_sonic_write_register,
    108108  erc32_sonic_read_register
Note: See TracChangeset for help on using the changeset viewer.