Files
linux-stable-mirror/include/linux
Jonathan Cameron aa5c8b2539 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 <trix@redhat.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Fixes: af959b7b96 ("iio: accel: fxls8962af: fix errata bug E3 - I2C burst reads")
Reviewed-by: Sean Nyekjaer <sean@geanix.com>
Acked-by: Wolfram Sang <wsa@kernel.org>
Link: https://lore.kernel.org/r/20210603165835.3594557-1-jic23@kernel.org
2021-06-07 09:19:21 +01:00
..
2020-12-09 19:26:02 -06:00
2021-05-06 19:24:11 -07:00
2021-05-08 21:49:48 -06:00
2020-07-08 10:48:35 -07:00
2021-01-24 14:27:17 +01:00
2021-05-06 19:24:11 -07:00
2020-12-10 12:42:59 -06:00
2021-05-07 00:26:34 -07:00
2020-08-04 21:02:38 -04:00
2021-04-08 16:04:20 -07:00
2020-12-02 22:10:35 -08:00
2021-04-30 11:20:40 -07:00
2020-09-16 08:54:53 -05:00
2020-12-15 16:19:31 +01:00
2019-12-11 09:12:38 +01:00
2020-05-08 00:12:42 +02:00
2021-05-07 00:26:35 -07:00
2021-04-08 16:04:20 -07:00
2020-05-09 13:57:12 +02:00
2021-02-03 19:05:50 +01:00
2017-11-09 10:23:28 +01:00
2020-10-18 09:27:10 -07:00
2019-06-15 12:25:49 +02:00
2021-01-16 23:19:26 +01:00
2021-05-06 19:24:11 -07:00
2021-03-25 17:39:33 -07:00
2021-01-06 16:24:59 -08:00
2020-09-10 14:03:31 -07:00
2021-05-07 00:26:35 -07:00
2021-03-30 13:42:33 -04:00
2021-02-08 22:58:55 +01:00