Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ACPI: x86: Move acpi_cmos_rtc to x86 folder

acpi_cmos_rtc is built solely for x86, move it to the respective folder.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>

authored by

Andy Shevchenko and committed by
Rafael J. Wysocki
49db1083 d85eb415

+2 -2
-1
drivers/acpi/Makefile
··· 55 55 acpi-y += evged.o 56 56 acpi-y += sysfs.o 57 57 acpi-y += property.o 58 - acpi-$(CONFIG_X86) += acpi_cmos_rtc.o 59 58 acpi-$(CONFIG_DEBUG_FS) += debugfs.o 60 59 acpi-y += acpi_lpat.o 61 60 acpi-$(CONFIG_ACPI_FPDT) += acpi_fpdt.o
+1 -1
drivers/acpi/acpi_cmos_rtc.c drivers/acpi/x86/cmos_rtc.c
··· 15 15 #include <linux/module.h> 16 16 #include <linux/mc146818rtc.h> 17 17 18 - #include "internal.h" 18 + #include "../internal.h" 19 19 20 20 static const struct acpi_device_id acpi_cmos_rtc_ids[] = { 21 21 { "PNP0B00" },
+1
drivers/acpi/x86/Makefile
··· 1 1 obj-$(CONFIG_ACPI) += acpi-x86.o 2 2 acpi-x86-y += apple.o 3 + acpi-x86-y += cmos_rtc.o 3 4 acpi-x86-y += s2idle.o 4 5 acpi-x86-y += utils.o