ARM: omap3logic: Encapsulate the MUSB functions in check for DM
authorAdam Ford <aford173@gmail.com>
Sun, 7 Oct 2018 22:39:29 +0000 (17:39 -0500)
committerTom Rini <trini@konsulko.com>
Mon, 22 Oct 2018 13:18:49 +0000 (09:18 -0400)
commitf4db3b68c14dc93bae338f8da393d2000025b5bc
tree07e7375abdd5dee942071217fdf3fa3a3ba56058
parent169eb191355ec4c5b5b7335ddaf8b73a167a698b
ARM: omap3logic: Encapsulate the MUSB functions in check for DM

With the DM_USB working for USB host features, encapsulate the
USB gadget initialization in a precomiler check.  If DM is enabled,
we don't need to manually initialize the MUSB driver.

Signed-off-by: Adam Ford <aford173@gmail.com>
board/logicpd/omap3som/omap3logic.c