| .. | .. |
|---|
| 140 | 140 | * |
|---|
| 141 | 141 | * Returns Link state |
|---|
| 142 | 142 | */ |
|---|
| 143 | | -cvmx_helper_link_info_t __cvmx_helper_spi_link_get(int ipd_port) |
|---|
| 143 | +union cvmx_helper_link_info __cvmx_helper_spi_link_get(int ipd_port) |
|---|
| 144 | 144 | { |
|---|
| 145 | | - cvmx_helper_link_info_t result; |
|---|
| 145 | + union cvmx_helper_link_info result; |
|---|
| 146 | 146 | int interface = cvmx_helper_get_interface_num(ipd_port); |
|---|
| 147 | 147 | int index = cvmx_helper_get_interface_index_num(ipd_port); |
|---|
| 148 | 148 | result.u64 = 0; |
|---|
| .. | .. |
|---|
| 193 | 193 | * |
|---|
| 194 | 194 | * Returns Zero on success, negative on failure |
|---|
| 195 | 195 | */ |
|---|
| 196 | | -int __cvmx_helper_spi_link_set(int ipd_port, cvmx_helper_link_info_t link_info) |
|---|
| 196 | +int __cvmx_helper_spi_link_set(int ipd_port, union cvmx_helper_link_info link_info) |
|---|
| 197 | 197 | { |
|---|
| 198 | 198 | /* Nothing to do. If we have a SPI4000 then the setup was already performed |
|---|
| 199 | 199 | by cvmx_spi4000_check_speed(). If not then there isn't any link |
|---|