aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/i2c/algos/i2c-algo-bit.c
diff options
context:
space:
mode:
authorArnd Bergmann <[email protected]>2018-08-17 10:01:36 +0000
committerThomas Gleixner <[email protected]>2018-08-20 16:04:42 +0000
commit704ae091b061082b37a9968621af4c290c641d50 (patch)
tree117a310565eb5087a05628ac201ac1024b38f281 /drivers/i2c/algos/i2c-algo-bit.c
parentx86/vdso: Fix vDSO build if a retpoline is emitted (diff)
downloadkernel-704ae091b061082b37a9968621af4c290c641d50.tar.gz
kernel-704ae091b061082b37a9968621af4c290c641d50.zip
x86/mce: Add notifier_block forward declaration
Without linux/irq.h, there is no declaration of notifier_block, leading to a build warning: In file included from arch/x86/kernel/cpu/mcheck/threshold.c:10: arch/x86/include/asm/mce.h:151:46: error: 'struct notifier_block' declared inside parameter list will not be visible outside of this definition or declaration [-Werror] It's sufficient to declare the struct tag here, which avoids pulling in more header files. Fixes: 447ae3166702 ("x86: Don't include linux/irq.h from asm/hardirq.h") Signed-off-by: Arnd Bergmann <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Cc: Nicolai Stange <[email protected]> Cc: "H. Peter Anvin" <[email protected]> Cc: Greg Kroah-Hartman <[email protected]> Cc: Borislav Petkov <[email protected]> Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/i2c/algos/i2c-algo-bit.c')
0 files changed, 0 insertions, 0 deletions