# \[PATCH v1 3/8\] x86/quirks: Add missed include to satisfy static checker

- From: Andy Shevchenko \<andriy.shevchenko@linux.intel.com\>
- Date: 2020-01-17 17:56:32 
- List: linux-rtc
- Page: https://ratatoskr.run/linux-rtc/2020/01/5836166
- Thread: https://ratatoskr.run/linux-rtc/2020/01/5836173/t.md

```text
Static checker is not happy with

.../kernel/quirks.c:666:6: warning: symbol 'x86_apple_machine' was not declared. Should it be static?

This is due to missed inclusion. Add it to satisfy the static checker.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
 arch/x86/kernel/quirks.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/x86/kernel/quirks.c b/arch/x86/kernel/quirks.c
index 1daf8f2aa21f..5b96654aacc0 100644
--- a/arch/x86/kernel/quirks.c
+++ b/arch/x86/kernel/quirks.c
@@ -4,6 +4,7 @@
  */
 #include <linux/dmi.h>
 #include <linux/pci.h>
+#include <linux/platform_data/x86/machine.h>
 #include <linux/irq.h>
 
 #include <asm/hpet.h>
-- 
2.24.1

```
