commit | fe52910cc9a5ecb01cdcfd28cc6dd296f94e56c2 | [log] [tgz] |
---|---|---|
author | Stephen Warren <swarren@nvidia.com> | Tue Jul 01 11:41:15 2014 -0600 |
committer | Marek Vasut <marex@denx.de> | Wed Jul 02 15:45:38 2014 +0200 |
tree | a3e8afc9cc30278cfde7c2184093c372c5c8cc23 | |
parent | 6667e23e8767231262fed9cd0763dbf3d8381954 [diff] |
usb: ci_udc: lift ilist size calculations to global scope This will allow functions other than ci_udc_probe() to make use of the constants in a future change. This in turn requires converting the const int variables to #defines, since the initialization of one global const int can't depend on the value of another const int; the compiler thinks it's non-constant if that dependency exists. Signed-off-by: Stephen Warren <swarren@nvidia.com>