From: Huajun Li Date: Mon, 12 Mar 2012 13:00:19 +0000 (+0800) Subject: USB: dynamically allocate usb_device children pointers instead of using a fix array X-Git-Tag: v3.4-rc1~184^2~20 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8816230e13d0c3c6ba51916d20e6d204646abf03;p=pandora-kernel.git USB: dynamically allocate usb_device children pointers instead of using a fix array Non-hub device has no child, and even a real USB hub has ports far less than USB_MAXCHILDREN, so there is no need using a fix array for child devices, just allocate it dynamically according real port number. Signed-off-by: Huajun Li Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed