From: tip-bot for Baoyou Xie <tipbot@zytor.com>
To: linux-tip-commits@vger.kernel.org
Cc: mingo@kernel.org, tglx@linutronix.de,
linux-kernel@vger.kernel.org, arnd@arndb.de, hpa@zytor.com,
baoyou.xie@linaro.org
Subject: [tip:timers/urgent] clocksource/drivers/pxa: Fix include files for compilation
Date: Wed, 24 Aug 2016 02:31:44 -0700 [thread overview]
Message-ID: <tip-aa8c0f1ad7e862147f4efb32bbb71ff66eb38caa@git.kernel.org> (raw)
In-Reply-To: <1471965569-4104-1-git-send-email-baoyou.xie@linaro.org>
Commit-ID: aa8c0f1ad7e862147f4efb32bbb71ff66eb38caa
Gitweb: http://git.kernel.org/tip/aa8c0f1ad7e862147f4efb32bbb71ff66eb38caa
Author: Baoyou Xie <baoyou.xie@linaro.org>
AuthorDate: Tue, 23 Aug 2016 23:19:29 +0800
Committer: Thomas Gleixner <tglx@linutronix.de>
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 <baoyou.xie@linaro.org>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
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 <tglx@linutronix.de>
---
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 <linux/of_irq.h>
#include <linux/sched_clock.h>
+#include <clocksource/pxa.h>
+
#include <asm/div64.h>
#define OSMR0 0x00 /* OS Timer 0 Match Register */
prev parent reply other threads:[~2016-08-24 9:46 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-23 15:19 [PATCH v4] clocksource/drivers/pxa: fix include files for compilation Baoyou Xie
2016-08-24 9:31 ` tip-bot for Baoyou Xie [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=tip-aa8c0f1ad7e862147f4efb32bbb71ff66eb38caa@git.kernel.org \
--to=tipbot@zytor.com \
--cc=arnd@arndb.de \
--cc=baoyou.xie@linaro.org \
--cc=hpa@zytor.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-tip-commits@vger.kernel.org \
--cc=mingo@kernel.org \
--cc=tglx@linutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).