diff options
author | Steven J. Hill <Steven.Hill@cavium.com> | 2017-03-09 08:15:16 -0600 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2017-04-10 11:56:06 +0200 |
commit | 930cbb73ee7d0e396987efccc24112c4469c03dc (patch) | |
tree | 02a7da7a0775438678a0cdcfe51094e93d98e318 /arch/mips/pci | |
parent | 15f6847923a87040ebe962e34eea48711c5d0582 (diff) | |
download | linux-930cbb73ee7d0e396987efccc24112c4469c03dc.tar.gz linux-930cbb73ee7d0e396987efccc24112c4469c03dc.tar.bz2 linux-930cbb73ee7d0e396987efccc24112c4469c03dc.zip |
MIPS: Octeon: Remove unused SLI types and macros.
Remove all unused bitfields and macros. Convert the remaining
bitfields to use __BITFIELD_FIELD instead of #ifdef.
[ralf@linux-mips.org: Add inclusions of <uapi/asm/bitfield.h> as necessary.]
Signed-off-by: Steven J. Hill <steven.hill@cavium.com>
Acked-by: David Daney <david.daney@cavium.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/15405/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/pci')
-rw-r--r-- | arch/mips/pci/pcie-octeon.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/mips/pci/pcie-octeon.c b/arch/mips/pci/pcie-octeon.c index 9f672ceb089b..ad3584dbc9d7 100644 --- a/arch/mips/pci/pcie-octeon.c +++ b/arch/mips/pci/pcie-octeon.c @@ -679,7 +679,7 @@ static void __cvmx_increment_ba(union cvmx_sli_mem_access_subidx *pmas) if (OCTEON_IS_MODEL(OCTEON_CN68XX)) pmas->cn68xx.ba++; else - pmas->cn63xx.ba++; + pmas->s.ba++; } /** @@ -1351,7 +1351,7 @@ static int __cvmx_pcie_rc_initialize_gen2(int pcie_port) if (OCTEON_IS_MODEL(OCTEON_CN68XX)) mem_access_subid.cn68xx.ba = 0; else - mem_access_subid.cn63xx.ba = 0; + mem_access_subid.s.ba = 0; /* * Setup mem access 12-15 for port 0, 16-19 for port 1, |