mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-11 21:14:07 +08:00
4a74197b65
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 | ||
canyonlands.c | ||
ebony.c | ||
fsp2.c | ||
fsp2.h | ||
idle.c | ||
iss4xx.c | ||
Kconfig | ||
machine_check.c | ||
Makefile | ||
misc_44x.S | ||
ppc44x_simple.c | ||
ppc476_modules.lds | ||
ppc476.c | ||
sam440ep.c | ||
warp.c |