commit | 06b38fcbae9294d337578d583309f99de12a0d23 | [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 | 8d7c39d3e8ad43dab3158220f3347186e6f1aa66 [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>