From: martin.blumenstingl@googlemail.com (Martin Blumenstingl)
To: linus-amlogic@lists.infradead.org
Subject: [PATCH usb v6 6/6] usb: core: phy: add the SPDX-License-Identifier and include guard
Date: Wed, 18 Apr 2018 21:39:51 +0200 [thread overview]
Message-ID: <20180418193951.17922-7-martin.blumenstingl@googlemail.com> (raw)
In-Reply-To: <20180418193951.17922-1-martin.blumenstingl@googlemail.com>
This clarifies the license of the code. While here also add an include
guard to the header file.
Fixes: 07dbff0ddbd86c ("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>
---
drivers/usb/core/phy.h | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/drivers/usb/core/phy.h b/drivers/usb/core/phy.h
index bbc969383074..88a3c037e9df 100644
--- a/drivers/usb/core/phy.h
+++ b/drivers/usb/core/phy.h
@@ -1,3 +1,13 @@
+/* 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;
@@ -13,3 +23,5 @@ 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_ */
--
2.17.0
next prev parent reply other threads:[~2018-04-18 19:39 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-04-18 19:39 [PATCH usb v6 0/6] usb/core/phy fixes for v4.17 Martin Blumenstingl
2018-04-18 19:39 ` [PATCH usb v6 1/6] usb: core: phy: fix return value of usb_phy_roothub_exit() Martin Blumenstingl
2018-04-18 19:39 ` [PATCH usb v6 2/6] usb: core: split usb_phy_roothub_{init,alloc} Martin Blumenstingl
2018-04-18 19:39 ` [PATCH usb v6 3/6] usb: core: use phy_exit during suspend if wake up is not supported Martin Blumenstingl
2018-04-18 19:39 ` [PATCH usb v6 4/6] usb: core: phy: make it a no-op if CONFIG_GENERIC_PHY is disabled Martin Blumenstingl
2018-04-18 19:39 ` [PATCH usb v6 5/6] usb: core: phy: add missing forward declaration for "struct device" Martin Blumenstingl
2018-04-18 19:39 ` Martin Blumenstingl [this message]
2018-04-22 13:01 ` [PATCH usb v6 6/6] usb: core: phy: add the SPDX-License-Identifier and include guard Greg KH
2018-04-22 19:41 ` Martin Blumenstingl
2018-04-23 7:39 ` Greg KH
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180418193951.17922-7-martin.blumenstingl@googlemail.com \
--to=martin.blumenstingl@googlemail.com \
--cc=linus-amlogic@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®