kernel_samsung_a53x/arch/powerpc/platforms/44x
Randy Dunlap a5ed672f43 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: 2a2c74b2efcb ("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-11-18 12:12:19 +01:00
..
44x.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
canyonlands.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ebony.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
fsp2.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
fsp2.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
idle.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
iss4xx.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Kconfig powerpc/44x: select I2C for CURRITUCK 2024-11-18 12:12:19 +01:00
machine_check.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
misc_44x.S Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ppc44x_simple.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ppc476.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ppc476_modules.lds Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
sam440ep.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
warp.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00