From patchwork Mon Mar 20 13:19:56 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vivek Gautam X-Patchwork-Id: 9634167 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 0CD31601E9 for ; Mon, 20 Mar 2017 13:23:36 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EC6CA2843A for ; Mon, 20 Mar 2017 13:23:35 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id DF06A2843F; Mon, 20 Mar 2017 13:23:35 +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=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, 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 5C7102843A for ; Mon, 20 Mar 2017 13:23:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753553AbdCTNWh (ORCPT ); Mon, 20 Mar 2017 09:22:37 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:52408 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753359AbdCTNVm (ORCPT ); Mon, 20 Mar 2017 09:21:42 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 4025F60A1C; Mon, 20 Mar 2017 13:20:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1490016040; bh=0/mPgTG3EV1d4JtmxEB5TC60VBH9n0aNcmAodl6YUiM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ZKUxkJ8BjSxtcNecUcJgP+wvqzoEn+y9iulIV9O0S5yQJrjL9gmVt3ALSFXZztiFo 9HqhOQm+RKLurzxFrWkcpBBmD9S7ayTAu9gUq7kQ5fLhEKRWmIP1VlA9ZEP34I5DXl T3I7tFRW+nuuHs1lMVATW/LnJY77lp+ZuYR3tXyE= Received: from blr-ubuntu-41.ap.qualcomm.com (unknown [202.46.23.61]) (using TLSv1.1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: vivek.gautam@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 2F15060275; Mon, 20 Mar 2017 13:20:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1490016035; bh=0/mPgTG3EV1d4JtmxEB5TC60VBH9n0aNcmAodl6YUiM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=PSv65m7b0kNutMobjjq1Mo82fbz2mD7UvLjT4s+zbcuDNmZVpPhNwYTLq4EHMFYH9 97RxkIe9mdVAKkiN2/0gU39N3n28rhl4WdVVgxhnIxSZHeo7Ew04IXv787J/4WHENB d3z9N9aHeB8iCxfFjVQfF/Elc7M7Ihxa0pHX1JhI= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 2F15060275 Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=vivek.gautam@codeaurora.org From: Vivek Gautam To: kishon@ti.com Cc: linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-omap@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-rockchip@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-usb@vger.kernel.org, Vivek Gautam , Stephen Boyd , Heikki Krogerus Subject: [PATCH v4 2/3] phy: Move ULPI phy header out of drivers to include path Date: Mon, 20 Mar 2017 18:49:56 +0530 Message-Id: <1490015997-12956-3-git-send-email-vivek.gautam@codeaurora.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1490015997-12956-1-git-send-email-vivek.gautam@codeaurora.org> References: <1490015997-12956-1-git-send-email-vivek.gautam@codeaurora.org> Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Although ULPI phy is currently being used by tusb1210, there can be other consumers too in future. So move this to the includes path for phy. Signed-off-by: Vivek Gautam Cc: Stephen Boyd Cc: Heikki Krogerus Cc: Kishon Vijay Abraham I Cc: linux-arm-kernel@lists.infradead.org Cc: linux-kernel@vger.kernel.org Cc: linux-omap@vger.kernel.org Cc: linux-usb@vger.kernel.org --- Changes since v3: - Removed qcom phy changes, since patch - 1/3 addressed that now. Changes since v2: - Updated the location for this header in drivers using it. drivers/phy/phy-tusb1210.c | 3 +-- {drivers => include/linux}/phy/ulpi_phy.h | 0 2 files changed, 1 insertion(+), 2 deletions(-) rename {drivers => include/linux}/phy/ulpi_phy.h (100%) diff --git a/drivers/phy/phy-tusb1210.c b/drivers/phy/phy-tusb1210.c index 4f6d5e71507d..bb3fb031c478 100644 --- a/drivers/phy/phy-tusb1210.c +++ b/drivers/phy/phy-tusb1210.c @@ -12,8 +12,7 @@ #include #include #include - -#include "ulpi_phy.h" +#include #define TUSB1210_VENDOR_SPECIFIC2 0x80 #define TUSB1210_VENDOR_SPECIFIC2_IHSTX_SHIFT 0 diff --git a/drivers/phy/ulpi_phy.h b/include/linux/phy/ulpi_phy.h similarity index 100% rename from drivers/phy/ulpi_phy.h rename to include/linux/phy/ulpi_phy.h