Commit 350f76dc authored by Martin Blumenstingl's avatar Martin Blumenstingl Committed by Greg Kroah-Hartman

usb: core: phy: add the SPDX-License-Identifier and include guard

This clarifies the license of the code. While here also add an include
guard to the header file.

Fixes: 07dbff0d ("usb: core: add a wrapper for the USB PHYs on the HCD")
Suggested-by: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: default avatarMartin Blumenstingl <martin.blumenstingl@googlemail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 7fc65d4c
/* 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 device;
struct usb_phy_roothub; struct usb_phy_roothub;
...@@ -13,3 +23,5 @@ int usb_phy_roothub_suspend(struct device *controller_dev, ...@@ -13,3 +23,5 @@ int usb_phy_roothub_suspend(struct device *controller_dev,
struct usb_phy_roothub *phy_roothub); struct usb_phy_roothub *phy_roothub);
int usb_phy_roothub_resume(struct device *controller_dev, int usb_phy_roothub_resume(struct device *controller_dev,
struct usb_phy_roothub *phy_roothub); struct usb_phy_roothub *phy_roothub);
#endif /* __USB_CORE_PHY_H_ */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment