acrn-kernel/arch/powerpc/platforms/44x
Randy Dunlap 63df75d383 powerpc/44x: select I2C for CURRITUCK
[ Upstream commit 4a74197b65e69c46fe6e53f7df2f4d6ce9ffe012 ]

Fix build errors when CURRITUCK=y and I2C is not builtin (=m or is
not set). Fixes these build errors:

powerpc-linux-ld: arch/powerpc/platforms/44x/ppc476.o: in function `avr_halt_system':
ppc476.c:(.text+0x58): undefined reference to `i2c_smbus_write_byte_data'
powerpc-linux-ld: arch/powerpc/platforms/44x/ppc476.o: in function `ppc47x_device_probe':
ppc476.c:(.init.text+0x18): undefined reference to `i2c_register_driver'

Fixes: 2a2c74b2ef ("IBM Akebono: Add the Akebono platform")
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Reported-by: kernel test robot <lkp@intel.com>
Closes: lore.kernel.org/r/202312010820.cmdwF5X9-lkp@intel.com
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/20231201055159.8371-1-rdunlap@infradead.org
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-01-25 15:27:19 -08:00
..
44x.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
Kconfig powerpc/44x: select I2C for CURRITUCK 2024-01-25 15:27:19 -08:00
Makefile powerpc: Remove Xilinx PPC405/PPC440 support 2020-05-28 23:24:34 +10:00
canyonlands.c powerpc: Add missing headers 2022-05-08 22:15:40 +10:00
ebony.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
fsp2.c powerpc: Add missing headers 2022-05-08 22:15:40 +10:00
fsp2.h powerpc/44x/fsp2: Add fsp2 headers 2017-12-11 13:03:32 +11:00
idle.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 333 2019-06-05 17:37:06 +02:00
iss4xx.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
machine_check.c powerpc: Add esr as a synonym for pt_regs.dsisr 2021-08-26 21:21:06 +10:00
misc_44x.S treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
ppc44x_simple.c powerpc: Remove asm/prom.h from all files that don't need it 2022-05-08 22:15:04 +10:00
ppc476.c powerpc/44x: Add of_node_put() when break out from for_each 2022-09-05 17:30:28 +10:00
ppc476_modules.lds ppc476: Enable a linker work around for IBM errata #46 2014-05-01 08:26:34 +10:00
sam440ep.c powerpc: Remove asm/prom.h from all files that don't need it 2022-05-08 22:15:04 +10:00
warp.c powerpc: Add missing headers 2022-05-08 22:15:40 +10:00