From patchwork Wed Apr 18 19:39:51 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Blumenstingl X-Patchwork-Id: 10348839 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 27999601D7 for ; Wed, 18 Apr 2018 19:40:27 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1881428831 for ; Wed, 18 Apr 2018 19:40:27 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0D15828837; Wed, 18 Apr 2018 19:40:27 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.8 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 88B8328831 for ; Wed, 18 Apr 2018 19:40:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752703AbeDRTkZ (ORCPT ); Wed, 18 Apr 2018 15:40:25 -0400 Received: from mail-wr0-f196.google.com ([209.85.128.196]:42070 "EHLO mail-wr0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752645AbeDRTkT (ORCPT ); Wed, 18 Apr 2018 15:40:19 -0400 Received: by mail-wr0-f196.google.com with SMTP id s18-v6so7844776wrg.9 for ; Wed, 18 Apr 2018 12:40:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=s/RMG4e8400DmUKk2uO3O0PbvzKDFghRNAWvntOZ7kM=; b=IAi5WniuGo2FR/oINX/sL0/4e1yBzujhwLwkxAd96agZxqQOQlDbNf89xmK3oB89gG 9f5RpGBiEbMZxw8UHUQ+UmE4AYJmqHBhtgpOn+NqG44vTiZ1b7aKQLR0Uac1iu6x/VPk bOzFduSFB6E1IIbNhrZpokTOAffJe1poAdGPv7VzmPc9pcLUma/Azv7xUsAPi9+4cbcb j8r5eZQXkOqO99jqQgwZjGRIzqPJvoZ87qJOFLfLqotV8sb3IrSqPgtQxHER3QQ3bTDB seOMW6xMIyJOy57FN0xqOvYj2JFeX1IyR9e04q6VW8uhvBLqVPJ3Kyt3wSJeGMaRJlXa B6bQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=s/RMG4e8400DmUKk2uO3O0PbvzKDFghRNAWvntOZ7kM=; b=SsRm/O4Y7oHjSGHN8RbA8uH0WTGLg+xjGHjTHOQRnc4bj6Cxm4hhU9i0bz+ZCfWk2Q jwJLTdtF2IaFEG34MTaRjFViBC8vRPTD9XztVQZodsVe/b6UkS2af+N3ydinpj/EIkwb kvF9WvoccZNua9hH9HhWxEZeNAXjjFoSJuRo7jssos96a1b4UQBrO9Gp2Ly1Jpkgt6oo ngTJAb54rFipZSnODfMgh3j5zkUkm+sTigBUnDDRG5A5X3sKEpmAfDr9GLt0aFQKiwn3 55MHL0cuMdAXGIgm6T3hrti1P8x8ZfNX5iQ6CVGZuUjTat9EGFqn5xewVJ/cl8Of4Qab 6JRg== X-Gm-Message-State: ALQs6tA6NEKoi7YtZCHRvydQRAni48B7yVGp3SQBRQeQgxxgvdgMSfis iq6MRpcQznie/2T2FfsFRyrxGJ8Q X-Google-Smtp-Source: AIpwx49ixU8SXyr3MsS2i43BGYgm3toh+v1htMylXzwJviNCSmECpZP8NhMpQfKg1CLZPQbGz6ClKw== X-Received: by 2002:adf:8e82:: with SMTP id q2-v6mr2667593wrb.53.1524080418286; Wed, 18 Apr 2018 12:40:18 -0700 (PDT) Received: from blackbox.darklights.net (p200300DCD743A504F9143C002217B8ED.dip0.t-ipconnect.de. [2003:dc:d743:a504:f914:3c00:2217:b8ed]) by smtp.googlemail.com with ESMTPSA id 60-v6sm1871990wrj.62.2018.04.18.12.40.16 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 18 Apr 2018 12:40:17 -0700 (PDT) From: Martin Blumenstingl 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 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 Message-Id: <20180418193951.17922-7-martin.blumenstingl@googlemail.com> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180418193951.17922-1-martin.blumenstingl@googlemail.com> References: <20180418193951.17922-1-martin.blumenstingl@googlemail.com> Sender: linux-usb-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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 Signed-off-by: Martin Blumenstingl --- 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 + */ + +#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_ */