diff options
author | Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> | 2022-02-11 08:09:28 -0800 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2022-02-25 20:49:29 +0100 |
commit | 00ae053a0533155d830da27070a931e6fa747327 (patch) | |
tree | 977ebb46139de06e580b3e45e59148b5bd86d929 /drivers/acpi/Makefile | |
parent | 9ddb00a2a136cc6ebbf6ee32fcf527d0d66044a2 (diff) | |
download | linux-stable-00ae053a0533155d830da27070a931e6fa747327.tar.gz linux-stable-00ae053a0533155d830da27070a931e6fa747327.tar.bz2 linux-stable-00ae053a0533155d830da27070a931e6fa747327.zip |
ACPI: fan: Separate file for attributes creation
Move the functionality of creation of sysfs attributes under acpi device
to a new file fan_attr.c. This cleans up the core fan code, which just
use thermal sysfs interface. The original fan.c is renamed to
fan_core.c.
No functional changes are expected.
Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi/Makefile')
-rw-r--r-- | drivers/acpi/Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/acpi/Makefile b/drivers/acpi/Makefile index bb757148e7ba..b5a8d3e00a52 100644 --- a/drivers/acpi/Makefile +++ b/drivers/acpi/Makefile @@ -81,6 +81,9 @@ obj-$(CONFIG_ACPI_AC) += ac.o obj-$(CONFIG_ACPI_BUTTON) += button.o obj-$(CONFIG_ACPI_TINY_POWER_BUTTON) += tiny-power-button.o obj-$(CONFIG_ACPI_FAN) += fan.o +fan-objs := fan_core.o +fan-objs += fan_attr.o + obj-$(CONFIG_ACPI_VIDEO) += video.o obj-$(CONFIG_ACPI_TAD) += acpi_tad.o obj-$(CONFIG_ACPI_PCI_SLOT) += pci_slot.o |