From patchwork Sat Sep 3 03:18:45 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Baoyou Xie X-Patchwork-Id: 75335 Delivered-To: patch@linaro.org Received: by 10.140.29.8 with SMTP id a8csp1192965qga; Fri, 2 Sep 2016 20:24:29 -0700 (PDT) X-Received: by 10.66.163.36 with SMTP id yf4mr3538125pab.47.1472873069093; Fri, 02 Sep 2016 20:24:29 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m6si14934978pfj.88.2016.09.02.20.24.28; Fri, 02 Sep 2016 20:24:29 -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 S1753250AbcICDYS (ORCPT + 27 others); Fri, 2 Sep 2016 23:24:18 -0400 Received: from mail-pf0-f182.google.com ([209.85.192.182]:33539 "EHLO mail-pf0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751271AbcICDYR (ORCPT ); Fri, 2 Sep 2016 23:24:17 -0400 Received: by mail-pf0-f182.google.com with SMTP id g202so24737883pfb.0 for ; Fri, 02 Sep 2016 20:24:16 -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=uUw2yiuL2j1TefktRuV4tUbQmGssMjy+mbcaE12Wuu0=; b=go0ENxnr0LbyzamYHl7VpGdbLw0rI/WuNXh20amJKEylgM/9C0+g0RJI47Sg/qZWJE gElnetLOokuKFhpM2xZyW9D9PEbe0xvhe3UhdqRHDk44saQ3TwzWnQfyvLSL8NIIPfAD LXQI/RH3YC0q6yrlaJqYxA/RipaINzwfHMLq0= 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=uUw2yiuL2j1TefktRuV4tUbQmGssMjy+mbcaE12Wuu0=; b=TqLGfYimQ3fTGeLkVtxEkpHGg9f1Tbiye4O08TsJFnPzddj2B73nf+r8VsHhG37iie r5UqsH+34ERJRvGj3Gs/VNqti+j6kQ7hlwj3xXQkpTVHwNXPjLy7m1NcIA/ndateoWnN 1EdDHS+zUx/JxLNZh94ho+JwVeOUujXWeE0e+93rV6c2CDGWiVBiWdAz9/5fu0lCdtBn Nrr7OC75/TQcJNQLUWUaBf6h0jrMflE1pRfjqNR2ZYkitpDzqYFX8dE23iY9rVGNOzwo gu1agP7R++MqlVAdu9ya5wnXfxMThP36jyS5HNqhkHQlSzhHy8vH5kwtGfnOTJ3IW/Xw gP1w== X-Gm-Message-State: AE9vXwP8Lo5uh+YyrVJxX3DU/WUmMmBZPjO6qUFLpDEjNtPZdxl/iHSQyvzf/92dbbQoiCs/ X-Received: by 10.98.92.65 with SMTP id q62mr42205429pfb.70.1472872750766; Fri, 02 Sep 2016 20:19:10 -0700 (PDT) Received: from localhost.localdomain ([104.237.91.184]) by smtp.gmail.com with ESMTPSA id e187sm3936714pfg.19.2016.09.02.20.19.06 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 02 Sep 2016 20:19:10 -0700 (PDT) From: Baoyou Xie To: daniel.lezcano@linaro.org, tglx@linutronix.de Cc: linux-kernel@vger.kernel.org, arnd@arndb.de, baoyou.xie@linaro.org, xie.baoyou@zte.com.cn Subject: [PATCH] clocksource: pxa_timer: add missing header dependencies Date: Sat, 3 Sep 2016 11:18:45 +0800 Message-Id: <1472872725-18462-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/clocksource/pxa_timer.c:221:13: warning: no previous prototype for 'pxa_timer_nodt_init' [-Wmissing-prototypes] In fact, this function is declared in include/clocksource/pxa.h, although it's not referenced anywhere now, it can be referenced by someone out of nowhere in future, so this patch adds missing header dependencies. Signed-off-by: Baoyou Xie --- drivers/clocksource/pxa_timer.c | 2 ++ 1 file changed, 2 insertions(+) -- 2.7.4 diff --git a/drivers/clocksource/pxa_timer.c b/drivers/clocksource/pxa_timer.c index 937e10b..3e1cb51 100644 --- a/drivers/clocksource/pxa_timer.c +++ b/drivers/clocksource/pxa_timer.c @@ -21,6 +21,8 @@ #include #include +#include + #include #define OSMR0 0x00 /* OS Timer 0 Match Register */