]> Git Repo - linux.git/commit
i2c: Fix conditional for substituting empty ACPI functions
authorRichard Fitzgerald <[email protected]>
Fri, 2 Aug 2024 15:22:14 +0000 (16:22 +0100)
committerWolfram Sang <[email protected]>
Sun, 4 Aug 2024 14:33:31 +0000 (16:33 +0200)
commitf17c06c6608ad4ecd2ccf321753fb511812d821b
tree0c344807531c3633c13ad1f10d859725375365ba
parentf6c29f710c1ff2590109f83be3e212b86c01e0f3
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 <[email protected]>
Signed-off-by: Wolfram Sang <[email protected]>
include/linux/i2c.h
This page took 0.056008 seconds and 4 git commands to generate.