From: Gabor Juhos Date: Sat, 9 Feb 2013 17:57:52 +0000 (+0000) Subject: MIPS: ath79: use dynamically allocated USB platform devices X-Git-Tag: v3.9-rc1~26^2~1^2~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=90a938d1add4859ad3e43c3dd5ee54bd0627e42d;p=pandora-kernel.git MIPS: ath79: use dynamically allocated USB platform devices The current code uses static resources and static platform device instances for the possible USB controllers in the system. These static variables contains initial values which leads to data segment pollution. Remove the static variables and use dynamically allocated structures instead. Signed-off-by: Gabor Juhos Patchwork: http://patchwork.linux-mips.org/patch/4933/ Signed-off-by: John Crispin --- Reading git-diff-tree failed