From patchwork Sat Sep 24 04:31:40 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Baoyou Xie X-Patchwork-Id: 9349049 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 EEA4E6077A for ; Sat, 24 Sep 2016 04:31:57 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D39EB2A107 for ; Sat, 24 Sep 2016 04:31:57 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B363F2A113; Sat, 24 Sep 2016 04:31:57 +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, HK_RANDOM_FROM, 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 44D492A107 for ; Sat, 24 Sep 2016 04:31:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752073AbcIXEb4 (ORCPT ); Sat, 24 Sep 2016 00:31:56 -0400 Received: from mail-pf0-f177.google.com ([209.85.192.177]:35167 "EHLO mail-pf0-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751077AbcIXEbz (ORCPT ); Sat, 24 Sep 2016 00:31:55 -0400 Received: by mail-pf0-f177.google.com with SMTP id s13so13653920pfd.2 for ; Fri, 23 Sep 2016 21:31:55 -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=a84JWmuxY1yuxn1EV5TaoG/fFYEij8YGaucH2ItRTYM=; b=N3gXGyJsV3vYxASdLLcoI+l0NHjC9xvC05SQvvISmPad1akk5NyV1rihqvBvwcX0oW RIshMweQJ3bbOqItsq9MgctHbc/t7yJyvB2lFinfNQ1Aq7k2rcosKukP620Ar6rqO2rS Pplx1tfoWHFZ990nfAUucOcBLHeaxShSRYoFE= 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=a84JWmuxY1yuxn1EV5TaoG/fFYEij8YGaucH2ItRTYM=; b=b8MUG52i52dqUptOtk2rjxRu8RrOCnnonrZhBNhUrzWGRzYI6xF7qY6vU7HOHsQLq2 Iswre2i7Pj02P9m48XAdZMNC9B/YYPpL7FE63g7tPRyfXBAkG5itS491zDdtQ9NSgpmG JFQcAvBd/HLZUZQD+TSlEoWhuntdCIXLq/51uAGYohHp48PMeuNPOAe9qtX9fvFnlzYI I1IaXX3QH2BkIOEq9SJg04lD4/TyPvjs6oVtphMgyFHqP7fAefz7Ke4w7tMpzsnu1G5g cogxAm8wPEyFxXZmwddQHlftYJ3l6cIFYu5L4/NxD8532NItfn1egKQGHIPDQ1+efKc5 MTTQ== X-Gm-Message-State: AE9vXwMIT8kkjnZMMDjrimkoRHxgGI9kJIjlLYr80yT/4UC0ZXYPoI66eRVJjD0/x3+sN2oZ X-Received: by 10.98.77.2 with SMTP id a2mr17676514pfb.138.1474691515076; Fri, 23 Sep 2016 21:31:55 -0700 (PDT) Received: from localhost.localdomain ([45.56.152.27]) by smtp.gmail.com with ESMTPSA id y2sm14769543pan.31.2016.09.23.21.31.51 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 23 Sep 2016 21:31:54 -0700 (PDT) From: Baoyou Xie To: mturquette@baylibre.com, sboyd@codeaurora.org, linus.walleij@linaro.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: versatile: add missing header dependencies Date: Sat, 24 Sep 2016 12:31:40 +0800 Message-Id: <1474691500-19793-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/versatile/clk-realview.c:54:13: warning: no previous prototype for 'realview_clk_init' [-Wmissing-prototypes] In fact, this function is declared in include/linux/platform_data/clk-realview.h, so this patch adds missing header dependencies. Signed-off-by: Baoyou Xie --- drivers/clk/versatile/clk-realview.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/clk/versatile/clk-realview.c b/drivers/clk/versatile/clk-realview.c index c56efc7..f662fd1 100644 --- a/drivers/clk/versatile/clk-realview.c +++ b/drivers/clk/versatile/clk-realview.c @@ -10,6 +10,7 @@ #include #include #include +#include #include "clk-icst.h"