i2c: icy: Fix build with CONFIG_AMIGA_PCMCIA=n
Subsystems (2)
Max Staudt
maintainerPATCH 1/1 i2c: icy: Fix build with CONFIG_AMIGA_PCMCIA=n
This has been found by the Kernel Test Robot:
http://lkml.iu.edu/hypermail/linux/kernel/2006.0/06862.html
With CONFIG_AMIGA_PCMCIA=n, io_mm.h does not pull in amigahw.h and ZTWO_VADDR is undefined. Add forgotten include to i2c-icy.c
--- drivers/i2c/busses/i2c-icy.c | 1 + 1 file changed, 1 insertion(+)
drivers/i2c/busses/i2c-icy.c +1 -0
@@ -43,6 +43,7 @@#include <linux/i2c.h> #include <linux/i2c-algo-pcf.h> +#include <asm/amigahw.h> #include <asm/amigaints.h> #include <linux/zorro.h>
Signature · 1 line
2.20.1
Wolfram Sang
AppliedQuoted 9 lines · Max Staudt
This has been found by the Kernel Test Robot:
http://lkml.iu.edu/hypermail/linux/kernel/2006.0/06862.htmlWith
CONFIG_AMIGA_PCMCIA=n,io_mm.hdoes not pull inamigahw.handZTWO_VADDRis undefined. Add forgotten include toi2c-icy.cFixes 4768e90ecaec ("i2c: Add i2c-icy for I2C on m68k/Amiga")Reported-by kernel test robot <[email protected]>Signed-off-by Max Staudt <[email protected]>
Applied to for-next (i.e. for-5.8), thanks!
Quoted 3 lines · Wolfram Sang
On Sun, Jun 07, 2020 at 08:28:12PM +0200, Max Staudt wrote:
Applied to for-next (i.e. for-5.8), thanks!
A bit of offtopic, merge window is at its end, do you have plans to send PR to Linus soon?
Signature · 2 lines
With Best Regards, Andy Shevchenko