From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753801AbcHXJqf (ORCPT ); Wed, 24 Aug 2016 05:46:35 -0400 Received: from terminus.zytor.com ([198.137.202.10]:44880 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750947AbcHXJqd (ORCPT ); Wed, 24 Aug 2016 05:46:33 -0400 Date: Wed, 24 Aug 2016 02:31:44 -0700 From: tip-bot for Baoyou Xie Message-ID: Cc: mingo@kernel.org, tglx@linutronix.de, linux-kernel@vger.kernel.org, arnd@arndb.de, hpa@zytor.com, baoyou.xie@linaro.org Reply-To: tglx@linutronix.de, linux-kernel@vger.kernel.org, arnd@arndb.de, mingo@kernel.org, hpa@zytor.com, baoyou.xie@linaro.org In-Reply-To: <1471965569-4104-1-git-send-email-baoyou.xie@linaro.org> References: <1471965569-4104-1-git-send-email-baoyou.xie@linaro.org> To: linux-tip-commits@vger.kernel.org Subject: [tip:timers/urgent] clocksource/drivers/pxa: Fix include files for compilation Git-Commit-ID: aa8c0f1ad7e862147f4efb32bbb71ff66eb38caa X-Mailer: tip-git-log-daemon Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Commit-ID: aa8c0f1ad7e862147f4efb32bbb71ff66eb38caa Gitweb: http://git.kernel.org/tip/aa8c0f1ad7e862147f4efb32bbb71ff66eb38caa Author: Baoyou Xie AuthorDate: Tue, 23 Aug 2016 23:19:29 +0800 Committer: Thomas Gleixner CommitDate: Wed, 24 Aug 2016 11:16:38 +0200 clocksource/drivers/pxa: Fix include files for compilation We get 1 warning about global functions without a declaration in the clocksource/drivers/pxa driver when building with W=1: drivers/clocksource/pxa_timer.c:221:13: warning: no previous prototype for 'pxa_timer_nodt_init' [-Wmissing-prototypes] void __init pxa_timer_nodt_init(int irq, void __iomem *base, In fact, this function is declared in pxa.h, so this patch add missing header dependencies. Signed-off-by: Baoyou Xie Reviewed-by: Arnd Bergmann Cc: daniel.lezcano@linaro.org Cc: xie.baoyou@zte.com.cn Cc: linux-arm-kernel@lists.infradead.org Link: http://lkml.kernel.org/r/1471965569-4104-1-git-send-email-baoyou.xie@linaro.org Signed-off-by: Thomas Gleixner --- drivers/clocksource/pxa_timer.c | 2 ++ 1 file changed, 2 insertions(+) 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 */