ARM i.MX: introduce imx_otg_ulpi_create to create ULPI transceivers
authorSascha Hauer <s.hauer@pengutronix.de>
Wed, 2 Mar 2011 08:27:42 +0000 (09:27 +0100)
committerSascha Hauer <s.hauer@pengutronix.de>
Mon, 7 Mar 2011 18:29:41 +0000 (19:29 +0100)
commit48f6b0999673cce33e4a54d89c78460cc28e5156
tree1ada2b337a7af540246968a9150b0c0a8ebabc3c
parent94573e6623cf9159f036adc670a3d4b29e6d86fe
ARM i.MX: introduce imx_otg_ulpi_create to create ULPI transceivers

The boards are currently using otg_ulpi_create and mxc_ulpi_access_ops,
both are only present if CONFIG_USB_ULPI is set. To remove the need of
ifdefs in the board code introduce a imx_otg_ulpi_create functions
which expands to a static inline function if compiled without ulpi.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
15 files changed:
arch/arm/mach-imx/mach-cpuimx27.c
arch/arm/mach-imx/mach-mx27_3ds.c
arch/arm/mach-imx/mach-pca100.c
arch/arm/mach-mx3/mach-armadillo5x0.c
arch/arm/mach-mx3/mach-mx31_3ds.c
arch/arm/mach-mx3/mach-mx31lilly.c
arch/arm/mach-mx3/mach-mx31lite.c
arch/arm/mach-mx3/mach-mx31moboard.c
arch/arm/mach-mx3/mach-pcm037.c
arch/arm/mach-mx3/mach-pcm043.c
arch/arm/mach-mx3/mx31moboard-smartbot.c
arch/arm/mach-mx5/board-mx51_efikasb.c
arch/arm/mach-mx5/mx51_efika.c
arch/arm/plat-mxc/include/mach/ulpi.h
arch/arm/plat-mxc/ulpi.c