ARM: OMAP1: fix USB configuration for device-only setups
authorAaro Koskinen <aaro.koskinen@iki.fi>
Tue, 4 Dec 2018 17:57:42 +0000 (19:57 +0200)
committerTony Lindgren <tony@atomide.com>
Tue, 11 Dec 2018 16:14:23 +0000 (08:14 -0800)
commitc7b7b5cbd0c859b1546a5a3455d457708bdadf4c
tree195c869933c0f23693c59ecd8f77ded1b0133e53
parent84df9525b0c27f3ebc2ebb1864fa62a97fdedb7d
ARM: OMAP1: fix USB configuration for device-only setups

Currently we do USB configuration only if the host mode (CONFIG_USB)
is enabled. But it should be done also in the case of device-only setups,
so change the condition to CONFIG_USB_SUPPORT. This allows to use
omap_udc on Palm Tungsten E.

Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap1/Makefile
arch/arm/mach-omap1/include/mach/usb.h