]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
i2c: icy: Fix build with CONFIG_AMIGA_PCMCIA=n
authorMax Staudt <max@enpas.org>
Sun, 7 Jun 2020 18:28:12 +0000 (20:28 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 24 Jun 2020 15:49:07 +0000 (17:49 +0200)
commit441b31b1bab8053a7c5067ad67c5a97b29ecbf03
tree0313c818270969fa31f26b0fcc2693a64e74a2fe
parent1ce6ac210a09c2165df67a3ac94264dd1aab72a6
i2c: icy: Fix build with CONFIG_AMIGA_PCMCIA=n

[ Upstream commit cdb555397f438592bab00599037c347b700cf397 ]

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: 4768e90ecaec ("i2c: Add i2c-icy for I2C on m68k/Amiga")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Max Staudt <max@enpas.org>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/i2c/busses/i2c-icy.c