usb: musb: do not error out if Kconfig doesn't match board mode
authorFelipe Balbi <balbi@ti.com>
Wed, 16 Feb 2011 10:27:54 +0000 (12:27 +0200)
committerFelipe Balbi <balbi@ti.com>
Thu, 17 Feb 2011 19:11:45 +0000 (21:11 +0200)
commit75a14b1434a0ca409bcc8ab9b6b2e680796c487e
tree18ceaa8e3ea4e442c4b087e5572dcc0f8be76120
parent04b31c776f34d127b422da92899272a0b8cda21d
usb: musb: do not error out if Kconfig doesn't match board mode

During development, even though board is wired
to e.g. OTG, we might want to compile host-only
or peripheral-only configurations.

Let's allow that to happen.

Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/musb/musb_core.c