mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-30 08:06:49 +07:00
da3c6647ee
Clean up ACPI related code in the i2c core and add CONFIG_I2C_ACPI to enable I2C ACPI code. Current there is a race between removing I2C ACPI operation region and ACPI AML code accessing. So make i2c core built-in if CONFIG_I2C_ACPI is set. Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com> Signed-off-by: Lan Tianyu <tianyu.lan@intel.com> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
18 lines
461 B
Makefile
18 lines
461 B
Makefile
#
|
|
# Makefile for the i2c core.
|
|
#
|
|
|
|
i2ccore-y := i2c-core.o
|
|
i2ccore-$(CONFIG_I2C_ACPI) += i2c-acpi.o
|
|
|
|
obj-$(CONFIG_I2C_BOARDINFO) += i2c-boardinfo.o
|
|
obj-$(CONFIG_I2C) += i2ccore.o
|
|
obj-$(CONFIG_I2C_SMBUS) += i2c-smbus.o
|
|
obj-$(CONFIG_I2C_CHARDEV) += i2c-dev.o
|
|
obj-$(CONFIG_I2C_MUX) += i2c-mux.o
|
|
obj-y += algos/ busses/ muxes/
|
|
obj-$(CONFIG_I2C_STUB) += i2c-stub.o
|
|
|
|
ccflags-$(CONFIG_I2C_DEBUG_CORE) := -DDEBUG
|
|
CFLAGS_i2c-core.o := -Wno-deprecated-declarations
|