Searched hist:"06 b38fcbae9294d337578d583309f99de12a0d23" (Results 1 – 1 of 1) sorted by relevance
| /rk3399_rockchip-uboot/drivers/usb/gadget/ |
| H A D | ci_udc.c | 06b38fcbae9294d337578d583309f99de12a0d23 Tue Jul 01 17:41:15 UTC 2014 Stephen Warren <swarren@nvidia.com> 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>
|