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: 664466 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 3sPK640Fmtz9s9G for ; Wed, 31 Aug 2016 18:57:48 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b=itNeMYCS; dkim-atps=neutral Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759621AbcHaI5c (ORCPT ); Wed, 31 Aug 2016 04:57:32 -0400 Received: from mail-pa0-f43.google.com ([209.85.220.43]:36600 "EHLO mail-pa0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759559AbcHaI5b (ORCPT ); Wed, 31 Aug 2016 04:57:31 -0400 Received: by mail-pa0-f43.google.com with SMTP id fu3so8884449pad.3 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=LLIiJsqrF3v45dEg/xqSBGL/IaDo6IUyfF6y1qZwsgdG72+xcnNMJuXNwAZg0xNa+3 CAAdIOYM2eGsjBvQZlO8q5HH5UQJLNG9XrDBJ1c9xjnmOwVkxd25xIjQ9DTbutMvJfA4 peorn5RpsAmVij3xUz/RjH1B7nd5y552lZaoyt9YHbPGJU9fNfy43XSE6z1tVlSdjew6 eVcztiduzOfGVVB9bBHhLdZR+4rrHO4PzwelYp5trF+KGtXDgnCqJyQgLa6oF8++hn/d kCHz/TgR1R0juKD3NhBgxjsw3+66+kWz46wcWvnvPYQjuPEOP7lqV5u34C6jd5FrRYtd 6uOw== X-Gm-Message-State: AE9vXwMJIb6yU/+54wGDnCBp56I/8K9q/Ywhtkh0++crxDiA0nSossvxvecY8FTWpl3Ip7Bd 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-tegra-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-tegra@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 Acked-by: Arnd Bergmann Acked-by: Thierry Reding --- drivers/phy/tegra/xusb.c | 1 + 1 file changed, 1 insertion(+) 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