]> Git Repo - linux.git/blob - include/linux/phy/omap_usb.h
svcrdma: Add Write chunk WRs to the RPC's Send WR chain
[linux.git] / include / linux / phy / omap_usb.h
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 /*
3  * omap_usb.h -- omap usb2 phy header file
4  *
5  * Copyright (C) 2012-2020 Texas Instruments Incorporated - http://www.ti.com
6  * Author: Kishon Vijay Abraham I <[email protected]>
7  */
8
9 #ifndef __DRIVERS_OMAP_USB2_H
10 #define __DRIVERS_OMAP_USB2_H
11
12 #include <linux/usb/phy_companion.h>
13
14 #define phy_to_omapusb(x)       container_of((x), struct omap_usb, phy)
15
16 #if defined(CONFIG_OMAP_USB2) || defined(CONFIG_OMAP_USB2_MODULE)
17 extern int omap_usb2_set_comparator(struct phy_companion *comparator);
18 #else
19 static inline int omap_usb2_set_comparator(struct phy_companion *comparator)
20 {
21         return -ENODEV;
22 }
23 #endif
24
25 #endif /* __DRIVERS_OMAP_USB_H */
This page took 0.03854 seconds and 4 git commands to generate.