USB: ohci-at91: change maximum number of ports
authorNicolas Ferre <nicolas.ferre@atmel.com>
Wed, 21 Mar 2012 15:53:09 +0000 (16:53 +0100)
committerNicolas Ferre <nicolas.ferre@atmel.com>
Wed, 4 Apr 2012 16:35:24 +0000 (18:35 +0200)
commit0ee6d1eeef7bf4e08aba37bf1da377b25e8d853a
treece65181e1108fa69708dcf4ac85617d308e92d7d
parentaaf9f5fc67c18259760d6302e679dcb3e36709a7
USB: ohci-at91: change maximum number of ports

Change number of ports to 3 for newer SoCs. Modify pdata structure
and ohci-at91 code that was dealing with ports information and check
of port indexes.
Several coding style errors have been addresses as the patch was touching
affected lines of code and was producing errors while run through
checkpatch.pl.

Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Acked-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
arch/arm/mach-at91/include/mach/board.h
drivers/usb/host/ohci-at91.c