]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
clocksource/drivers/pxa: Fix include files for compilation
authorBaoyou Xie <baoyou.xie@linaro.org>
Tue, 23 Aug 2016 15:19:29 +0000 (23:19 +0800)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 24 Aug 2016 09:16:38 +0000 (11:16 +0200)
commitaa8c0f1ad7e862147f4efb32bbb71ff66eb38caa
treed9041a7d38ec9c2abe057f18e9447eb000176c8b
parent588deb614a0d3caa596dd8eba8c4d31eaaeb89b9
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