From patchwork Wed Sep 14 06:23:28 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Baoyou Xie X-Patchwork-Id: 76142 Delivered-To: patch@linaro.org Received: by 10.140.106.72 with SMTP id d66csp1713966qgf; Tue, 13 Sep 2016 23:24:02 -0700 (PDT) X-Received: by 10.98.159.26 with SMTP id g26mr1519305pfe.137.1473834242525; Tue, 13 Sep 2016 23:24:02 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id db4si3068451pad.90.2016.09.13.23.24.02; Tue, 13 Sep 2016 23:24:02 -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 S1757948AbcINGYA (ORCPT + 27 others); Wed, 14 Sep 2016 02:24:00 -0400 Received: from mail-pf0-f182.google.com ([209.85.192.182]:34215 "EHLO mail-pf0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752960AbcINGX6 (ORCPT ); Wed, 14 Sep 2016 02:23:58 -0400 Received: by mail-pf0-f182.google.com with SMTP id p64so2348616pfb.1 for ; Tue, 13 Sep 2016 23:23:58 -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=b/vg+o7GgNl4rpJ+ykDVrhVsTv8cj1P+c3JVwKoQL6A=; b=Ppo2fMrBNDSkPLolr5o3QPfmU3rsfic+xvFAgcNblybDqVQcAaApwHlC7568utMnFW uUXy1RryulUnBSfCD8jEka1xCI5lCqR1Dq3VA/Vfo+/y0sWFasZ1OVQuODipSJxmrw8N TlLTuBec4nVhsrvhr9QdF+Z9PHATYQKU3l4aA= 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=b/vg+o7GgNl4rpJ+ykDVrhVsTv8cj1P+c3JVwKoQL6A=; b=Bl7aORaqLiOqF/u2+qJIeirkSEaAnBfB7i84rdJYrtgqgyHgnKPq00WoeeVEP+8Z/n jVeLh/IuASyw7+zRlx1IYWaIXygWFjF0DARzjb59ctStT4izcYExEmeVioyfEc8CH+d4 EMbFIMofxfP2GRGm6HWaPzt/5zty7aIOD1q7V51DN78RkvaeLHZojh1bzzaKIMigQbsp HLrt57NZAv6M4CifmjTAbkUNQIBXaKiytHeAkN42+xjP3mx/kX0vgPA86rQUs8LPOQPf 8Sk9tyyt9en6xMZFbWRLQTxhIBUuQB0gX0WgMHOs0TNvxrbLEIxqjGKlOV0/6avFL0XR VFuQ== X-Gm-Message-State: AE9vXwOlrUQ+CJttnq6vmosXd2cwGK4RpU3NB7qkhdbd47/8eVtSPwkwOSen5s3Us4haXqE2 X-Received: by 10.98.37.130 with SMTP id l124mr1607547pfl.60.1473834237728; Tue, 13 Sep 2016 23:23:57 -0700 (PDT) Received: from localhost.localdomain ([104.237.91.21]) by smtp.gmail.com with ESMTPSA id v124sm35141687pfb.14.2016.09.13.23.23.51 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 13 Sep 2016 23:23:57 -0700 (PDT) From: Baoyou Xie To: mturquette@baylibre.com, sboyd@codeaurora.org, arnd@arndb.de Cc: linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, baoyou.xie@linaro.org, xie.baoyou@zte.com.cn Subject: [PATCH] clk: mmp: add missing header dependencies Date: Wed, 14 Sep 2016 14:23:28 +0800 Message-Id: <1473834208-25896-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 1 warning when building kernel with W=1: drivers/clk/mmp/clk-mmp2.c:75:13: warning: no previous prototype for 'mmp2_clk_init' [-Wmissing-prototypes] In fact, this function is declared in linux/clk/mmp.h, so this patch add missing header dependencies. Signed-off-by: Baoyou Xie --- drivers/clk/mmp/clk-mmp2.c | 1 + 1 file changed, 1 insertion(+) -- 2.7.4 Acked-by: Arnd Bergmann diff --git a/drivers/clk/mmp/clk-mmp2.c b/drivers/clk/mmp/clk-mmp2.c index 383f6a4..0380234 100644 --- a/drivers/clk/mmp/clk-mmp2.c +++ b/drivers/clk/mmp/clk-mmp2.c @@ -16,6 +16,7 @@ #include #include #include +#include #include "clk.h"