diff options
author | Richard Fitzgerald <rf@opensource.cirrus.com> | 2024-08-02 18:22:14 +0300 |
---|---|---|
committer | Wolfram Sang <wsa+renesas@sang-engineering.com> | 2024-08-04 17:33:31 +0300 |
commit | f17c06c6608ad4ecd2ccf321753fb511812d821b (patch) | |
tree | 0c344807531c3633c13ad1f10d859725375365ba /rust/helpers/mutex.c | |
parent | f6c29f710c1ff2590109f83be3e212b86c01e0f3 (diff) | |
download | linux-f17c06c6608ad4ecd2ccf321753fb511812d821b.tar.xz |
i2c: Fix conditional for substituting empty ACPI functions
Add IS_ENABLED(CONFIG_I2C) to the conditional around a bunch of ACPI
functions.
The conditional around these functions depended only on CONFIG_ACPI.
But the functions are implemented in I2C core, so are only present if
CONFIG_I2C is enabled.
Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com>
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Diffstat (limited to 'rust/helpers/mutex.c')
0 files changed, 0 insertions, 0 deletions