3e00a22fdc
All these files have been updated in the commit given in the Fixes: tag
below.
When the SPDX-License-Identifier: has been added, the corresponding text at
the beginning of the files has not been deleted.
All these texts are about GPL-2.0+, with different variation in the
wording.
Remove these now useless lines to save some LoC.
Fixes: 5fd54ace47
("USB: add SPDX identifiers to all remaining files in drivers/usb/")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
26 lines
693 B
C
26 lines
693 B
C
// SPDX-License-Identifier: GPL-2.0+
|
|
/*
|
|
* phy-companion.h -- phy companion to indicate the comparator part of PHY
|
|
*
|
|
* Copyright (C) 2012 Texas Instruments Incorporated - https://www.ti.com
|
|
*
|
|
* Author: Kishon Vijay Abraham I <kishon@ti.com>
|
|
*/
|
|
|
|
#ifndef __DRIVERS_PHY_COMPANION_H
|
|
#define __DRIVERS_PHY_COMPANION_H
|
|
|
|
#include <linux/usb/otg.h>
|
|
|
|
/* phy_companion to take care of VBUS, ID and srp capabilities */
|
|
struct phy_companion {
|
|
|
|
/* effective for A-peripheral, ignored for B devices */
|
|
int (*set_vbus)(struct phy_companion *x, bool enabled);
|
|
|
|
/* for B devices only: start session with A-Host */
|
|
int (*start_srp)(struct phy_companion *x);
|
|
};
|
|
|
|
#endif /* __DRIVERS_PHY_COMPANION_H */
|