linux/arch/powerpc/platforms/44x
Randy Dunlap 4a74197b65 powerpc/44x: select I2C for CURRITUCK
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
2023-12-01 21:15:33 +11: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
canyonlands.c powerpc: Make generic_calibrate_decr() the default 2023-03-16 08:56:48 +11:00
ebony.c powerpc: Make generic_calibrate_decr() the default 2023-03-16 08:56:48 +11:00
fsp2.c powerpc: Make generic_calibrate_decr() the default 2023-03-16 08:56:48 +11:00
fsp2.h powerpc/44x/fsp2: Add fsp2 headers 2017-12-11 13:03:32 +11:00
idle.c powerpc/44x: Make ppc44x_idle_init() static 2023-11-30 13:25:33 +11:00
iss4xx.c powerpc: Use of_property_present() for testing DT property presence 2023-03-30 23:36:35 +11:00
Kconfig powerpc/44x: select I2C for CURRITUCK 2023-12-01 21:15:33 +11:00
machine_check.c powerpc: Add esr as a synonym for pt_regs.dsisr 2021-08-26 21:21:06 +10:00
Makefile powerpc: Remove Xilinx PPC405/PPC440 support 2020-05-28 23:24:34 +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: Make generic_calibrate_decr() the default 2023-03-16 08:56:48 +11:00
ppc476_modules.lds ppc476: Enable a linker work around for IBM errata #46 2014-05-01 08:26:34 +10:00
ppc476.c powerpc: Switch i2c drivers back to use .probe() 2023-06-14 12:46:41 +10:00
sam440ep.c powerpc: Make generic_calibrate_decr() the default 2023-03-16 08:56:48 +11:00
warp.c powerpc/4xx: Remove pika_dtm_[un]register_shutdown() to fix no previous prototype 2023-08-18 17:03:14 +10:00