swh:1:snp:32555a3fd8878f019c2ebd6c964bc1edcaeff337
Raw File
Tip revision: bb176f67090ca54869fc1262c913aa69d2ede070 authored by Linus Torvalds on 23 October 2017, 10:49:47 UTC
Linux 4.14-rc6
Tip revision: bb176f6
ulpi.h
#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