]> git.baikalelectronics.ru Git - kernel.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)
committerWolfram Sang <wsa@kernel.org>
Sun, 7 Jun 2020 18:45:24 +0000 (20:45 +0200)
commite08fd35310f3f1cb85b8a4a3e0cf629e19f0762b
tree4716a081e0ea19c368f6b51fa5c3bfa2fca49352
parent42f430378ff332c220ca51de4bd06c22e80baa9e
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: b5bfdd14dc15 ("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>
drivers/i2c/busses/i2c-icy.c