From patchwork Tue Mar 3 11:29:20 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 11417813 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id BE9F5921 for ; Tue, 3 Mar 2020 11:29:34 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 9E86920863 for ; Tue, 3 Mar 2020 11:29:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1583234974; bh=9/eMpVaFKnTKdkVwp42b3Dy3f+L3RKqCf6H3DxvZ9fo=; h=From:To:Cc:Subject:Date:List-ID:From; b=huZKLvtdjbzF/bhwCZ0gOtXeGJBTVOgI2j512Kd9rZQqJESxjNak8MmuI1k0uD8iD Sl2QcnaN/40ydaNr3TXm0FiKXyqhUERzUg9f7OrJok+VO/phlw2G5kv2ckKo0gSh27 MH1dfapqpqC+JyZKcTiehCcgqCfLd6m8lV3WPNJ0= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728305AbgCCL3b (ORCPT ); Tue, 3 Mar 2020 06:29:31 -0500 Received: from mail.kernel.org ([198.145.29.99]:57134 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727970AbgCCL3a (ORCPT ); Tue, 3 Mar 2020 06:29:30 -0500 Received: from PC-kkoz.proceq.com (unknown [213.160.61.66]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id DE7E920848; Tue, 3 Mar 2020 11:29:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1583234970; bh=9/eMpVaFKnTKdkVwp42b3Dy3f+L3RKqCf6H3DxvZ9fo=; h=From:To:Cc:Subject:Date:From; b=rdFQbijD0JvpxM4LjCDIWZEkvhFG3khn/R1dMNhU1DOm4HKbnvT1DcrkZhyLSuITP OF+9UoI4ks7oD/k3XeEmtxwAIagBuCo4lkNKhj9oO8DO+zhpAfsE3z8hU8ovSyeZXA Poq1URw9mnNEncAI4hzxgqigoQ0Ossp+2uJD+zVI= From: Krzysztof Kozlowski To: Felipe Balbi , Greg Kroah-Hartman , Thierry Reding , Jonathan Hunter , linux-usb@vger.kernel.org, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH] usb: phy: tegra: Include proper GPIO consumer header to fix compile testing Date: Tue, 3 Mar 2020 12:29:20 +0100 Message-Id: <1583234960-24909-1-git-send-email-krzk@kernel.org> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 Sender: linux-usb-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org The driver uses only GPIO Descriptor Consumer Interface so include proper header. This fixes compile test failures (e.g. on i386): drivers/usb/phy/phy-tegra-usb.c: In function ‘ulpi_phy_power_on’: drivers/usb/phy/phy-tegra-usb.c:695:2: error: implicit declaration of function ‘gpiod_set_value_cansleep’ [-Werror=implicit-function-declaration] drivers/usb/phy/phy-tegra-usb.c: In function ‘tegra_usb_phy_probe’: drivers/usb/phy/phy-tegra-usb.c:1167:11: error: implicit declaration of function ‘devm_gpiod_get_from_of_node’ [-Werror=implicit-function-declaration] Signed-off-by: Krzysztof Kozlowski Reviewed-by: Dmitry Osipenko --- drivers/usb/phy/phy-tegra-usb.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/usb/phy/phy-tegra-usb.c b/drivers/usb/phy/phy-tegra-usb.c index 6153cc35aba0..cffe2aced488 100644 --- a/drivers/usb/phy/phy-tegra-usb.c +++ b/drivers/usb/phy/phy-tegra-usb.c @@ -12,12 +12,11 @@ #include #include #include -#include +#include #include #include #include #include -#include #include #include #include