All of lore.kernel.org
 help / color / mirror / Atom feed
From: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
To: linux-usb@vger.kernel.org, gregkh@linuxfoundation.org
Cc: matthias.bgg@gmail.com, stern@rowland.harvard.edu, rogerq@ti.com,
	linux-mediatek@lists.infradead.org,
	linux-amlogic@lists.infradead.org, j-keerthy@ti.com,
	d-gerlach@ti.com, kishon@ti.com, chunfeng.yun@mediatek.com,
	linux-rpi-kernel@lists.infradead.org, eric@anholt.net,
	yamada.masahiro@socionext.com,
	Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Subject: [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)

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

WARNING: multiple messages have this Message-ID (diff)
From: Martin Blumenstingl <martin.blumenstingl-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org>
To: linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	gregkh-hQyY1W1yCW8ekmWlsbkhG0B+6BGkLq7r@public.gmane.org
Cc: d-gerlach-l0cyMroinI0@public.gmane.org,
	eric-WhKQ6XTQaPysTnJN9+BGXg@public.gmane.org,
	j-keerthy-l0cyMroinI0@public.gmane.org,
	stern-nwvwT67g6+6dFdvTe/nMLpVzexx5G7lz@public.gmane.org,
	chunfeng.yun-NuS5LvNUpcJWk0Htik3J/w@public.gmane.org,
	yamada.masahiro-uWyLwvC0a2jby3iVrkZq2A@public.gmane.org,
	linux-mediatek-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
	linux-rpi-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
	matthias.bgg-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org,
	linux-amlogic-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
	kishon-l0cyMroinI0@public.gmane.org,
	Martin Blumenstingl
	<martin.blumenstingl-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org>,
	rogerq-l0cyMroinI0@public.gmane.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-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org>

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-uWyLwvC0a2jby3iVrkZq2A@public.gmane.org>
Signed-off-by: Martin Blumenstingl <martin.blumenstingl-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org>
---
 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-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org>
+ */
+
+#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

WARNING: multiple messages have this Message-ID (diff)
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

             reply	other threads:[~2018-04-18 19:39 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-04-18 19:39 Martin Blumenstingl [this message]
2018-04-18 19:39 ` [PATCH usb v6 6/6] usb: core: phy: add the SPDX-License-Identifier and include guard Martin Blumenstingl
2018-04-18 19:39 ` Martin Blumenstingl
  -- strict thread matches above, loose matches on Subject: below --
2018-04-23  7:39 [usb,v6,6/6] " Greg Kroah-Hartman
2018-04-23  7:39 ` [PATCH usb v6 6/6] " Greg KH
2018-04-23  7:39 ` Greg KH
2018-04-22 19:41 [usb,v6,6/6] " Martin Blumenstingl
2018-04-22 19:41 ` [PATCH usb v6 6/6] " Martin Blumenstingl
2018-04-22 19:41 ` Martin Blumenstingl
2018-04-22 13:01 [usb,v6,6/6] " Greg Kroah-Hartman
2018-04-22 13:01 ` [PATCH usb v6 6/6] " Greg KH
2018-04-22 13:01 ` Greg KH
2018-04-18 19:39 [usb,v6,5/6] usb: core: phy: add missing forward declaration for "struct device" Martin Blumenstingl
2018-04-18 19:39 ` [PATCH usb v6 5/6] " Martin Blumenstingl
2018-04-18 19:39 ` Martin Blumenstingl
2018-04-18 19:39 [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 4/6] " Martin Blumenstingl
2018-04-18 19:39 ` Martin Blumenstingl
2018-04-18 19:39 [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 3/6] " Martin Blumenstingl
2018-04-18 19:39 ` Martin Blumenstingl
2018-04-18 19:39 [usb,v6,2/6] usb: core: split usb_phy_roothub_{init,alloc} Martin Blumenstingl
2018-04-18 19:39 ` [PATCH usb v6 2/6] " Martin Blumenstingl
2018-04-18 19:39 ` Martin Blumenstingl
2018-04-18 19:39 [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 1/6] " Martin Blumenstingl
2018-04-18 19:39 ` Martin Blumenstingl
2018-04-18 19:39 [PATCH usb v6 0/6] usb/core/phy fixes for v4.17 Martin Blumenstingl
2018-04-18 19:39 ` Martin Blumenstingl

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=chunfeng.yun@mediatek.com \
    --cc=d-gerlach@ti.com \
    --cc=eric@anholt.net \
    --cc=gregkh@linuxfoundation.org \
    --cc=j-keerthy@ti.com \
    --cc=kishon@ti.com \
    --cc=linux-amlogic@lists.infradead.org \
    --cc=linux-mediatek@lists.infradead.org \
    --cc=linux-rpi-kernel@lists.infradead.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=matthias.bgg@gmail.com \
    --cc=rogerq@ti.com \
    --cc=stern@rowland.harvard.edu \
    --cc=yamada.masahiro@socionext.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.