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: 9330441 X-Patchwork-Delegate: sboyd@codeaurora.org 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 B7D706077F for ; Wed, 14 Sep 2016 06:24:00 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A75642999D for ; Wed, 14 Sep 2016 06:24:00 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9BAE829992; Wed, 14 Sep 2016 06:24:00 +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 54EDD29992 for ; Wed, 14 Sep 2016 06:23:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754835AbcINGX6 (ORCPT ); Wed, 14 Sep 2016 02:23:58 -0400 Received: from mail-pf0-f172.google.com ([209.85.192.172]:36316 "EHLO mail-pf0-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752643AbcINGX6 (ORCPT ); Wed, 14 Sep 2016 02:23:58 -0400 Received: by mail-pf0-f172.google.com with SMTP id 128so2319859pfb.3 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=N14qCJ4g4d/GQWCboSC1A0gHrg+gojPbILN9nhoIzg5E/xPH0wOu+ViX0mZoGrE5br Mpjjh3KSU56ldqnl8U2lTF6CVo0wSkxhngCE9a6bVBup78EoJgaaaMn7IRep3WpcIHkP a8KQv21IUEC0tHJzKG6F6jI3tPN13zgSHwvs4yxYt5cGxVorzkj8vwAJ59EUebQIbi+q b5kcmfiiQMnTvmOSaK4Dw/Kdo9geuD5cdfJOeejXwF5OoFB9t1VyQ2rlQ0kGmtRRw5Fw 5WPV8wrNyG6l3DDVm7Z63bzDfBgRE5B4S+FjHhIBQX3HdIkEfm0QuUFJ76TEJEvcC9cq 997w== X-Gm-Message-State: AE9vXwNYPbckcZpw9At0REEni0Obd8FKXQjusRGXyay8So+OLf2KVA1z0HRT1MsoMTKTmo/y 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-clk-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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 Acked-by: Arnd Bergmann --- drivers/clk/mmp/clk-mmp2.c | 1 + 1 file changed, 1 insertion(+) 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"