diff options
author | Guenter Roeck <[email protected]> | 2015-09-11 06:28:08 -0700 |
---|---|---|
committer | Wim Van Sebroeck <[email protected]> | 2015-09-28 10:56:10 +0200 |
commit | 3cef072d3bbd4344823545e50d8cb240a6d4635d (patch) | |
tree | d9beba3a248d3e7ef1e3fccd459d649fd7f80773 /tools/perf/util/trace-event-scripting.c | |
parent | 898e6861ff7cfc9f539b57859a27fbd1fe4298ae (diff) |
watchdog: iTCO: Fix dependencies on I2C
If I2C is built as module, the iTCO watchdog driver must be built as module
as well. I2C_I801 must only be selected if I2C is configured.
This fixes the following build errors, seen if I2C=m and ITCO_WDT=y.
i2c-i801.c:(.text+0x2bf055): undefined reference to `i2c_del_adapter'
i2c-i801.c:(.text+0x2c13e0): undefined reference to `i2c_add_adapter'
i2c-i801.c:(.text+0x2c17bd): undefined reference to `i2c_new_device'
Fixes: 2a7a0e9bf7b3 ("watchdog: iTCO_wdt: Add support for TCO on Intel Sunrisepoint")
Reviewed-by: Matt Fleming <[email protected]>
Cc: Lee Jones <[email protected]>
Signed-off-by: Guenter Roeck <[email protected]>
Signed-off-by: Wim Van Sebroeck <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions