diff mbox series

[XEN,v2,7/7] x86/nmi: include missing header with declarations for 'watchdog_*'

Message ID 0665857accd8f39297f4cb77329fb1874be21302.1691655814.git.nicola.vetrini@bugseng.com (mailing list archive)
State New, archived
Headers show
Series fix missing headers and static storage duration | expand

Commit Message

Nicola Vetrini Aug. 10, 2023, 8:39 a.m. UTC
Include an additional header to make the declarations for
functions 'watchdog_*' visible prior to their definition in
the file, thereby resolving the violations of Rule 8.4.

No functional change.

Signed-off-by: Nicola Vetrini <nicola.vetrini@bugseng.com>
Fixes: c8177e691f0f ("watchdog: Move watchdog from being x86 specific to common code")
Reviewed-by: Jan Beulich <jbeulich@suse.com>
---
Changes in v2:
- Revised commit message
---
 xen/arch/x86/nmi.c | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/xen/arch/x86/nmi.c b/xen/arch/x86/nmi.c
index 104e366bd310..dc79c25e3ffd 100644
--- a/xen/arch/x86/nmi.c
+++ b/xen/arch/x86/nmi.c
@@ -24,6 +24,7 @@ 
 #include <xen/console.h>
 #include <xen/smp.h>
 #include <xen/keyhandler.h>
+#include <xen/watchdog.h>
 #include <xen/cpu.h>
 #include <asm/current.h>
 #include <asm/mc146818rtc.h>