linux-stable/include/linux/usb/phy_companion.h
Christophe JAILLET 3e00a22fdc USB: Follow-up to SPDX GPL-2.0+ identifiers addition - remove now useless comments
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>
2022-06-10 11:24:37 +02:00

25 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 */