summaryrefslogtreecommitdiff
path: root/drivers/usb/cdns3/cdns3-pci-wrap.c
diff options
context:
space:
mode:
authorPaul Burton <paul.burton@mips.com>2019-10-03 22:46:23 +0000
committerPaul Burton <paul.burton@mips.com>2019-10-03 15:47:14 -0700
commit101c40ed269ccf67d3535bf2d131584008edbbd1 (patch)
tree7d3a8da0534448f5a182e07b299e4ad183c0def7 /drivers/usb/cdns3/cdns3-pci-wrap.c
parent25b69a889b638b0b7e51e2c4fe717a66bec0e566 (diff)
MIPS: pmcs-msp71xx: Add missing MAX_PROM_MEM definition
Commit b3c948e2c00f ("MIPS: msp: Record prom memory") introduced use of a MAX_PROM_MEM value but didn't define it. A bounds check in prom_meminit() suggests its value was supposed to be 5, so define it as such & adjust the bounds check to use the macro rather than a magic number. Signed-off-by: Paul Burton <paul.burton@mips.com> Fixes: b3c948e2c00f ("MIPS: msp: Record prom memory") Cc: Jiaxun Yang <jiaxun.yang@flygoat.com> Cc: linux-mips@vger.kernel.org
Diffstat (limited to 'drivers/usb/cdns3/cdns3-pci-wrap.c')
0 files changed, 0 insertions, 0 deletions