]> Git Repo - linux.git/blob - arch/arm/mach-imx/ulpi.h
rcu: Consolidate PREEMPT and !PREEMPT synchronize_rcu()
[linux.git] / arch / arm / mach-imx / ulpi.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __MACH_ULPI_H
3 #define __MACH_ULPI_H
4
5 #include <linux/usb/ulpi.h>
6
7 #ifdef CONFIG_USB_ULPI_VIEWPORT
8 static inline struct usb_phy *imx_otg_ulpi_create(unsigned int flags)
9 {
10         return otg_ulpi_create(&ulpi_viewport_access_ops, flags);
11 }
12 #else
13 static inline struct usb_phy *imx_otg_ulpi_create(unsigned int flags)
14 {
15         return NULL;
16 }
17 #endif
18
19 #endif /* __MACH_ULPI_H */
20
This page took 0.035854 seconds and 4 git commands to generate.