From: Felipe Balbi Date: Wed, 24 Apr 2013 14:21:42 +0000 (+0300) Subject: usb: musb: fix incorrect usage of resource pointer X-Git-Tag: omap-for-v3.11/fixes-for-merge-window~78^2~60^2~92 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=09fc7d22b024692b2fe8a943b246de1af307132b;p=pandora-kernel.git usb: musb: fix incorrect usage of resource pointer We can't simply pass the resource pointer from our device down to our children, otherwise module reinsertion will not work as the resource will continue to be marked as busy. Fix it by building a proper struct resource for our child musb device. Tested-by: Dmitry Lifshitz Signed-off-by: Felipe Balbi --- Reading git-diff-tree failed