lkml.org 
[lkml]   [2020]   [Apr]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH v4 2/9] x86/quirks: Add missed include to satisfy static checker
    Date
    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 896d74cb5081..7c054650b3a6 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.25.1
    \
     
     \ /
      Last update: 2020-04-15 16:56    [W:2.345 / U:0.296 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site