Commit 9607004
rust: iio: common: Change cfg guard of aop_sensors module
Change the cfg guard of the `aop_sensors` module to the direct config
symbols `CONFIG_IIO_AOP_SENSORS_LAS` and `CONFIG_IIO_AOP_SENSORS_ALS`
without checking if they are set as either module or yes.
This fixes a build error when `CONFIG_IIO_AOP_SENSORS_LAS` is set to
module and `CONFIG_IIO_AOP_SENSORS_ALS` is disabled.
Signed-off-by: Fiona Behrens <me@kloenk.dev>1 parent a21d08e commit 9607004
1 file changed
Lines changed: 1 addition & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
| 5 | + | |
11 | 6 | | |
0 commit comments