xen/arm: vtimer: Fix MISRA C 2012 Rule 8.4 violation
authorXenia Ragiadakou <burzalodowa@gmail.com>
Tue, 21 Jun 2022 15:44:01 +0000 (18:44 +0300)
committerJulien Grall <jgrall@amazon.com>
Thu, 23 Jun 2022 18:54:49 +0000 (19:54 +0100)
Include vtimer.h so that the declarations of vtimer functions with external
linkage are visible before the function definitions.

Signed-off-by: Xenia Ragiadakou <burzalodowa@gmail.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
xen/arch/arm/vtimer.c

index 5bb5970f58d8dd8d9322900a771a830f6d1641e3..5f2646335434a398095b49538b3c76c310d61088 100644 (file)
@@ -29,6 +29,7 @@
 #include <asm/time.h>
 #include <asm/vgic.h>
 #include <asm/vreg.h>
+#include <asm/vtimer.h>
 #include <asm/regs.h>
 
 /*