aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJonathan Cameron <[email protected]>2021-06-03 17:58:35 +0100
committerJonathan Cameron <[email protected]>2021-06-07 09:19:21 +0100
commitaa5c8b25392800bbefa82dd19eeff8ebbf261ace (patch)
treee988b1bc171de707a462c26516ffa582d8d81dd4 /tools/perf/scripts/python
parent6efb943b8616ec53a5e444193dccf1af9ad627b5 (diff)
i2c: core: Add stub for i2c_verify_client() if !CONFIG_I2C
If I2C is not compiled, there is no way we should see a call to i2c_verify_client() on a device that is an i2c client. As such, provide a stub to return NULL to resolve an associated build failure. The build is failing with this link error ld: fxls8962af-core.o: in function `fxls8962af_fifo_transfer': fxls8962af-core.c: undefined reference to `i2c_verify_client' Reported-by: Tom Rix <[email protected]> Signed-off-by: Jonathan Cameron <[email protected]> Fixes: af959b7b96b8 ("iio: accel: fxls8962af: fix errata bug E3 - I2C burst reads") Reviewed-by: Sean Nyekjaer <[email protected]> Acked-by: Wolfram Sang <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions