diff options
author | Mario Limonciello <[email protected]> | 2024-01-31 16:52:46 -0600 |
---|---|---|
committer | Jonathan Cameron <[email protected]> | 2024-02-04 15:16:43 +0000 |
commit | 4cb81840d8f29b66d9d05c6d7f360c9560f7e2f4 (patch) | |
tree | 066a7a8cf97d488b1331682b45ad188bca43f597 /lib/test-string_helpers.c | |
parent | 862cf85fef85becc55a173387527adb4f076fab0 (diff) |
iio: accel: bma400: Fix a compilation problem
The kernel fails when compiling without `CONFIG_REGMAP_I2C` but with
`CONFIG_BMA400`.
```
ld: drivers/iio/accel/bma400_i2c.o: in function `bma400_i2c_probe':
bma400_i2c.c:(.text+0x23): undefined reference to `__devm_regmap_init_i2c'
```
Link: https://download.01.org/0day-ci/archive/20240131/[email protected]/config
Fixes: 465c811f1f20 ("iio: accel: Add driver for the BMA400")
Fixes: 9bea10642396 ("iio: accel: bma400: add support for bma400 spi")
Signed-off-by: Mario Limonciello <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Cc: <[email protected]>
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions