commit | 8d3e03e186cb94a333d0176fe8b22a6df200fcc7 | [log] [tgz] |
---|---|---|
author | Gabor Juhos <juhosg@openwrt.org> | Sat Aug 04 15:03:55 2012 +0000 |
committer | John Crispin <blogic@openwrt.org> | Tue Aug 28 12:29:57 2012 +0200 |
tree | 3ac3438fc2fcc43f4e93cfb180a0d29cd50b91d2 | |
parent | c182ae42cc3611f7b3fa803c0bcab6e5d29bea63 [diff] |
MIPS: ath79: use a helper function for USB resource initialization This improves code readability, and ensures that all resource fields will be initialized correctly. Additionally, it helps to reduce the size of the kernel image by using uninitialized resource variables. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> Patchwork: http://patchwork.linux-mips.org/patch/4171/ Signed-off-by: John Crispin <blogic@openwrt.org>