diff options
| author | Marek Vasut <[email protected]> | 2013-07-10 03:16:30 +0200 |
|---|---|---|
| committer | Marek Vasut <[email protected]> | 2013-07-29 23:01:31 +0200 |
| commit | 2ea4b44832eee9a85167bd2a54a7b603618d80b0 (patch) | |
| tree | c976a16d532e91bf39e4f2dee510efccb5dc1855 /include/linux/string.h | |
| parent | 532d846f891f31e2582428d7572b98103e3ec268 (diff) | |
usb: mv_udc: Clean up the EP initialization
Move the constant values that are programmed into mv_ep.ep into
separate static const structure so they can be memcpy()'d when
the initialization happens.
Moveover, we only every init NUM_ENDPOINTS, not 2 * NUM_ENDPOINTS,
so fix this bug as well.
Signed-off-by: Marek Vasut <[email protected]>
Cc: Fabio Estevam <[email protected]>
Cc: Lei Wen <[email protected]>
Cc: Otavio Salvador <[email protected]>
Cc: Stefano Babic <[email protected]>
Diffstat (limited to 'include/linux/string.h')
0 files changed, 0 insertions, 0 deletions
