aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorYueHaibing <[email protected]>2019-06-12 11:18:25 +0800
committerCorey Minyard <[email protected]>2019-06-12 07:18:59 -0500
commit102308f557bca8e539a800614b0e274945a81cdf (patch)
tree26d7050a061668056c0fa79fa4612c6e694ed8c5 /tools/perf/util/trace-event-scripting.c
parent51bd6f291583684f495ea498984dfc22049d7fd2 (diff)
ipmi: ipmb: Fix build error while CONFIG_I2C is set to m
If CONFIG_I2C is m and CONFIG_I2C_SLAVE is y, building with CONFIG_IPMB_DEVICE_INTERFACE setting to y will fail: drivers/char/ipmi/ipmb_dev_int.o: In function `ipmb_remove': ipmb_dev_int.c: undefined reference to `i2c_slave_unregister' drivers/char/ipmi/ipmb_dev_int.o: In function `ipmb_write': ipmb_dev_int.c: undefined reference to `i2c_smbus_write_block_data' drivers/char/ipmi/ipmb_dev_int.o: In function `ipmb_probe': ipmb_dev_int.c: undefined reference to `i2c_slave_register' drivers/char/ipmi/ipmb_dev_int.o: In function `ipmb_driver_init': ipmb_dev_int.c: undefined reference to `i2c_register_driver' drivers/char/ipmi/ipmb_dev_int.o: In function `ipmb_driver_exit': ipmb_dev_int.c: undefined reference to `i2c_del_driver' Add I2C Kconfig dependency to fix this. Reported-by: Hulk Robot <[email protected]> Fixes: 51bd6f291583 ("Add support for IPMB driver") Signed-off-by: YueHaibing <[email protected]> Message-Id: <[email protected]> Signed-off-by: Corey Minyard <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions