Revert "i2c: Use IS_REACHABLE() for substituting empty ACPI functions"

This reverts commit 152ff7ffb6.
This commit is contained in:
Ksawlii 2024-11-24 00:23:46 +01:00
parent a588fda053
commit b4445f415c

View file

@ -991,7 +991,7 @@ static inline int of_i2c_get_board_info(struct device *dev,
struct acpi_resource;
struct acpi_resource_i2c_serialbus;
#if IS_REACHABLE(CONFIG_ACPI) && IS_REACHABLE(CONFIG_I2C)
#if IS_ENABLED(CONFIG_ACPI) && IS_ENABLED(CONFIG_I2C)
bool i2c_acpi_get_i2c_resource(struct acpi_resource *ares,
struct acpi_resource_i2c_serialbus **i2c);
u32 i2c_acpi_find_bus_speed(struct device *dev);