Skip to content

Commit cdb5553

Browse files
Max Staudtwsakernel
authored andcommitted
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 Fixes: 4768e90 ("i2c: Add i2c-icy for I2C on m68k/Amiga") Reported-by: kernel test robot <[email protected]> Signed-off-by: Max Staudt <[email protected]> Signed-off-by: Wolfram Sang <[email protected]>
1 parent 2667a68 commit cdb5553

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/i2c/busses/i2c-icy.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@
4343
#include <linux/i2c.h>
4444
#include <linux/i2c-algo-pcf.h>
4545

46+
#include <asm/amigahw.h>
4647
#include <asm/amigaints.h>
4748
#include <linux/zorro.h>
4849

0 commit comments

Comments
 (0)