[PATCH 0/2] Fix AT91 OHCI platform data format

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The following patches remove the flexible array implementation of vbus_pin
in the AT91 OHCI driver platform data.  Rather than using a flexible array,
which cannot be copied from the init data to a persistent structure, I use
a fixed-size array.

The first patch converts the array from flexible to fixed.

The second patch bases the pin assignemnt for-loop on the size of the fixed
array rather than the "ports" variable in the platform data.

 arch/arm/mach-at91/include/mach/board.h |    3 ++-
 drivers/usb/host/ohci-at91.c            |    4 ++--
 2 files changed, 4 insertions(+), 3 deletions(-)
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux