From patchwork Wed Aug 31 08:56:49 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Baoyou Xie X-Patchwork-Id: 75048 Delivered-To: patch@linaro.org Received: by 10.140.29.52 with SMTP id a49csp220563qga; Wed, 31 Aug 2016 01:57:34 -0700 (PDT) X-Received: by 10.98.70.199 with SMTP id o68mr14853878pfi.17.1472633854571; Wed, 31 Aug 2016 01:57:34 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p186si49950105pfg.281.2016.08.31.01.57.34; Wed, 31 Aug 2016 01:57:34 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759618AbcHaI5a (ORCPT + 27 others); Wed, 31 Aug 2016 04:57:30 -0400 Received: from mail-pa0-f47.google.com ([209.85.220.47]:34173 "EHLO mail-pa0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759559AbcHaI50 (ORCPT ); Wed, 31 Aug 2016 04:57:26 -0400 Received: by mail-pa0-f47.google.com with SMTP id fi15so16661557pac.1 for ; Wed, 31 Aug 2016 01:57:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=BYNBwFajRZPtO+XllgKgjr5w+7UNN0LIKAAgC+kfw3c=; b=itNeMYCS8/9Pmqf+e8zmY7fxKnv58TzMzK513vZzs9V1I1MQ+i70Y87g6kMWUuSEml brnSp8LcEVmfzHtsqVVUM6tTauiWtwPUTMwFcX5Pp/AAG/mzEsgmmAt5xm6Ozwg76I2n JwQRKWS4WYx4QP2I2jgktCwzkB+o8PlwSbHxc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=BYNBwFajRZPtO+XllgKgjr5w+7UNN0LIKAAgC+kfw3c=; b=aWzlAtmp4Q/g32yJdNb3/fKE5Xq7b5lMnPFwFCsA7coi6XD3j8kAMe8blx70E92oCQ ovlEYVtzVF29xYXNKvCk5KlsqVAFM+tpvtJQDZOFmzhIASHuzktNprWbMfPjZe2FV4Az SEbIp3T2FtRtLUTUoJLEjBxPa2Ge69TlBceGWZ1lLXKit/sIABky9c0zGfNY4Tj53VyX dy5A3BJT49QrqR94YoqjuBl/VKw0OlQn+WIOldjHc02aaWM7gFmNLMPLy1cybAvxOjiy d0wwDPPgaHqbkpkFWR71WhBZecoLKNq5AumcE+6JO7ZRD1ZVHVxD9Qbz6UpBqoI+VpFm fAoA== X-Gm-Message-State: AE9vXwMdEnxE+l+0UpR7r/cqFbYFDevliAdgckS9XWKiqoegL0JT33tRO+BydYgx/ePf+q++ X-Received: by 10.66.216.130 with SMTP id oq2mr14797271pac.89.1472633844973; Wed, 31 Aug 2016 01:57:24 -0700 (PDT) Received: from localhost.localdomain ([104.237.91.37]) by smtp.gmail.com with ESMTPSA id s89sm63073422pfi.83.2016.08.31.01.57.19 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 31 Aug 2016 01:57:24 -0700 (PDT) From: Baoyou Xie To: kishon@ti.com, swarren@wwwdotorg.org, thierry.reding@gmail.com, gnurou@gmail.com Cc: linux-kernel@vger.kernel.org, linux-tegra@vger.kernel.org, arnd@arndb.de, baoyou.xie@linaro.org, xie.baoyou@zte.com.cn Subject: [PATCH] phy: add missing header dependencies Date: Wed, 31 Aug 2016 16:56:49 +0800 Message-Id: <1472633809-19904-1-git-send-email-baoyou.xie@linaro.org> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org We get 5 warnings when building kernel with W=1: drivers/phy/tegra/xusb.c:948:27: warning: no previous prototype for 'tegra_xusb_padctl_get' [-Wmissing-prototypes] drivers/phy/tegra/xusb.c:981:6: warning: no previous prototype for 'tegra_xusb_padctl_put' [-Wmissing-prototypes] drivers/phy/tegra/xusb.c:988:5: warning: no previous prototype for 'tegra_xusb_padctl_usb3_save_context' [-Wmissing-prototypes] drivers/phy/tegra/xusb.c:998:5: warning: no previous prototype for 'tegra_xusb_padctl_hsic_set_idle' [-Wmissing-prototypes] drivers/phy/tegra/xusb.c:1008:5: warning: no previous prototype for 'tegra_xusb_padctl_usb3_set_lfps_detect' [-Wmissing-prototypes] In fact, these functions are declared in linux/phy/tegra/xusb.h, so this patch adds missing header dependencies. Signed-off-by: Baoyou Xie --- drivers/phy/tegra/xusb.c | 1 + 1 file changed, 1 insertion(+) -- 2.7.4 Acked-by: Arnd Bergmann Acked-by: Thierry Reding diff --git a/drivers/phy/tegra/xusb.c b/drivers/phy/tegra/xusb.c index 0a372d9..873424a 100644 --- a/drivers/phy/tegra/xusb.c +++ b/drivers/phy/tegra/xusb.c @@ -18,6 +18,7 @@ #include #include #include +#include #include #include #include