mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-26 21:05:15 +07:00
350f76dc06
This clarifies the license of the code. While here also add an include
guard to the header file.
Fixes: 07dbff0ddb
("usb: core: add a wrapper for the USB PHYs on the HCD")
Suggested-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
28 lines
816 B
C
28 lines
816 B
C
/* SPDX-License-Identifier: GPL-2.0+ */
|
|
/*
|
|
* USB roothub wrapper
|
|
*
|
|
* Copyright (C) 2018 Martin Blumenstingl <martin.blumenstingl@googlemail.com>
|
|
*/
|
|
|
|
#ifndef __USB_CORE_PHY_H_
|
|
#define __USB_CORE_PHY_H_
|
|
|
|
struct device;
|
|
struct usb_phy_roothub;
|
|
|
|
struct usb_phy_roothub *usb_phy_roothub_alloc(struct device *dev);
|
|
|
|
int usb_phy_roothub_init(struct usb_phy_roothub *phy_roothub);
|
|
int usb_phy_roothub_exit(struct usb_phy_roothub *phy_roothub);
|
|
|
|
int usb_phy_roothub_power_on(struct usb_phy_roothub *phy_roothub);
|
|
void usb_phy_roothub_power_off(struct usb_phy_roothub *phy_roothub);
|
|
|
|
int usb_phy_roothub_suspend(struct device *controller_dev,
|
|
struct usb_phy_roothub *phy_roothub);
|
|
int usb_phy_roothub_resume(struct device *controller_dev,
|
|
struct usb_phy_roothub *phy_roothub);
|
|
|
|
#endif /* __USB_CORE_PHY_H_ */
|