Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1468638 > unrolled thread

[PATCH v4] clocksource/drivers/pxa: fix include files for compilation

Started byBaoyou Xie <baoyou.xie@linaro.org>
First post2016-08-23 17:30 +0200
Last post2016-08-24 11:50 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH v4] clocksource/drivers/pxa: fix include files for compilation Baoyou Xie <baoyou.xie@linaro.org> - 2016-08-23 17:30 +0200
    [tip:timers/urgent] clocksource/drivers/pxa: Fix include files for  compilation tip-bot for Baoyou Xie <tipbot@zytor.com> - 2016-08-24 11:50 +0200

#1468638 — [PATCH v4] clocksource/drivers/pxa: fix include files for compilation

FromBaoyou Xie <baoyou.xie@linaro.org>
Date2016-08-23 17:30 +0200
Subject[PATCH v4] clocksource/drivers/pxa: fix include files for compilation
Message-ID<s9lOi-5N9-11@gated-at.bofh.it>
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>
---
 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 */
-- 
2.7.4

[toc] | [next] | [standalone]


#1469298 — [tip:timers/urgent] clocksource/drivers/pxa: Fix include files for compilation

Fromtip-bot for Baoyou Xie <tipbot@zytor.com>
Date2016-08-24 11:50 +0200
Subject[tip:timers/urgent] clocksource/drivers/pxa: Fix include files for compilation
Message-ID<s9CYO-op-17@gated-at.bofh.it>
In reply to#1468638
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 */

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web