printf: Remove unused 'bprintf'
[drm/drm-misc.git] / include / linux / phy / omap_usb.h
blobe23b52df93ec8ce21d47d33ee7e2fd85665989e6
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 /*
3 * omap_usb.h -- omap usb2 phy header file
5 * Copyright (C) 2012-2020 Texas Instruments Incorporated - http://www.ti.com
6 * Author: Kishon Vijay Abraham I <kishon@ti.com>
7 */
9 #ifndef __DRIVERS_OMAP_USB2_H
10 #define __DRIVERS_OMAP_USB2_H
12 #include <linux/usb/phy_companion.h>
14 #define phy_to_omapusb(x) container_of((x), struct omap_usb, phy)
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)
21 return -ENODEV;
23 #endif
25 #endif /* __DRIVERS_OMAP_USB_H */