diff options
author | Sergei Shtylyov <sshtylyov@ru.mvista.com> | 2011-03-13 20:06:59 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-03-23 13:04:15 -0700 |
commit | de988be1f66ecc6ea96c11dac2e4c5bc44de9615 (patch) | |
tree | 6fb9a85e0be9e5574c7ad8d087acf56997bd1952 /fs/affs | |
parent | 4a68b18f8a4da0b70b49972f205ab2cd4b886a96 (diff) |
davinci: DM644x EVM: register MUSB device earlier
commit 60d97a840175d3becb2e6de36537a5cdfc0ec3a9 upstream.
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 <sshtylyov@ru.mvista.com>
Acked-by: Felipe Balbi <balbi@ti.com>
Tested-by: Sekhar Nori <nsekhar@ti.com>
Signed-off-by: Kevin Hilman <khilman@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'fs/affs')
0 files changed, 0 insertions, 0 deletions