Skip to content
Commit 3d6fdf75 authored by Justin Waters's avatar Justin Waters Committed by Russell King
Browse files

[ARM] 5446/1: ohci-at91: Limit vbus_pin assignment to the size of the array



Currently, the vbus_pin assignment loop is limited by the value of the "ports"
variable in the platform data.  Now that the vbus_pin array is no longer
flexible, we can use its actual size.

Signed-off-by: default avatarJustin Waters <justin.waters@timesys.com>
Acked-by: default avatarAndrew Victor <linux@maxim.org.za>
Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent d0176f61
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment