63df75d383
[ 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:
|
||
---|---|---|
.. | ||
44x.h | ||
Kconfig | ||
Makefile | ||
canyonlands.c | ||
ebony.c | ||
fsp2.c | ||
fsp2.h | ||
idle.c | ||
iss4xx.c | ||
machine_check.c | ||
misc_44x.S | ||
ppc44x_simple.c | ||
ppc476.c | ||
ppc476_modules.lds | ||
sam440ep.c | ||
warp.c |