Revert "i2c: Use IS_REACHABLE() for substituting empty ACPI functions"
This reverts commit 152ff7ffb6
.
This commit is contained in:
parent
a588fda053
commit
b4445f415c
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue