swh:1:snp:32555a3fd8878f019c2ebd6c964bc1edcaeff337
Raw File
Tip revision: 37624b58542fb9f2d9a70e6ea006ef8a5f66c30b authored by Linus Torvalds on 29 April 2019, 00:04:13 UTC
Linux 5.1-rc7
Tip revision: 37624b5
ulpi.h
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef __MACH_ULPI_H
#define __MACH_ULPI_H

#include <linux/usb/ulpi.h>

#ifdef CONFIG_USB_ULPI_VIEWPORT
static inline struct usb_phy *imx_otg_ulpi_create(unsigned int flags)
{
	return otg_ulpi_create(&ulpi_viewport_access_ops, flags);
}
#else
static inline struct usb_phy *imx_otg_ulpi_create(unsigned int flags)
{
	return NULL;
}
#endif

#endif /* __MACH_ULPI_H */

back to top