From: Sergei Shtylyov Date: Sun, 13 Mar 2011 20:06:59 +0000 (+0000) Subject: davinci: DM644x EVM: register MUSB device earlier X-Git-Tag: v2.6.39-rc1~434^2~1^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=60d97a840175d3becb2e6de36537a5cdfc0ec3a9;p=pandora-kernel.git davinci: DM644x EVM: register MUSB device earlier The MUSB driver doesn't see its platform device on DM644x EVM board anymore since commit 73b089b052a69020b953312a624a6e1eb5b81fab (usb: musb: split davinci to its own platform_driver) because the new probe is called as subsys_initcall() now, and the device is registered later than that by the board code. Move the registration to davinci_evm_init() -- it's safe to do so because the MUSB core device still gets initialized as fs_initcall() -- which is late enough for the I2C GPIO expander (which controls VBUS) to be initialized. Signed-off-by: Sergei Shtylyov Acked-by: Felipe Balbi Tested-by: Sekhar Nori Signed-off-by: Kevin Hilman --- Reading git-diff-tree failed