diff options
author | Richard Fitzgerald <rf@opensource.cirrus.com> | 2024-08-02 16:22:14 +0100 |
---|---|---|
committer | Wolfram Sang <wsa+renesas@sang-engineering.com> | 2024-08-04 16:33:31 +0200 |
commit | f17c06c6608ad4ecd2ccf321753fb511812d821b (patch) | |
tree | 0c344807531c3633c13ad1f10d859725375365ba /drivers/i2c | |
parent | f6c29f710c1ff2590109f83be3e212b86c01e0f3 (diff) | |
download | linux-f17c06c6608ad4ecd2ccf321753fb511812d821b.tar.gz linux-f17c06c6608ad4ecd2ccf321753fb511812d821b.tar.bz2 linux-f17c06c6608ad4ecd2ccf321753fb511812d821b.zip |
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 'drivers/i2c')
0 files changed, 0 insertions, 0 deletions