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

platform/x86: intel-smartconnect: Move to intel sub-directory

Move Intel Smart Connect driver to intel sub-directory to improve
readability and rename it from intel-smartconnect.c to smartconnect.c.

Signed-off-by: Kate Hsuan <hpa@redhat.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20210820110458.73018-11-andriy.shevchenko@linux.intel.com
Signed-off-by: Hans de Goede <hdegoede@redhat.com>

authored by

Kate Hsuan and committed by
Hans de Goede
47bbe03e e6596c22

+16 -15
-14
drivers/platform/x86/Kconfig
··· 1110 1110 functionality. If in doubt, say Y here; it will only load on 1111 1111 supported platforms. 1112 1112 1113 - config INTEL_SMARTCONNECT 1114 - tristate "Intel Smart Connect disabling driver" 1115 - depends on ACPI 1116 - help 1117 - Intel Smart Connect is a technology intended to permit devices to 1118 - update state by resuming for a short period of time at regular 1119 - intervals. If a user enables this functionality under Windows and 1120 - then reboots into Linux, the system may remain configured to resume 1121 - on suspend. In the absence of any userspace to support it, the system 1122 - will then remain awake until something triggers another suspend. 1123 - 1124 - This driver checks to determine whether the device has Intel Smart 1125 - Connect enabled, and if so disables it. 1126 - 1127 1113 source "drivers/platform/x86/intel_speed_select_if/Kconfig" 1128 1114 1129 1115 config INTEL_TURBO_MAX_3
-1
drivers/platform/x86/Makefile
··· 120 120 121 121 # Intel uncore drivers 122 122 obj-$(CONFIG_INTEL_IPS) += intel_ips.o 123 - obj-$(CONFIG_INTEL_SMARTCONNECT) += intel-smartconnect.o 124 123 obj-$(CONFIG_INTEL_SPEED_SELECT_INTERFACE) += intel_speed_select_if/ 125 124 obj-$(CONFIG_INTEL_TURBO_MAX_3) += intel_turbo_max_3.o 126 125 obj-$(CONFIG_INTEL_UNCORE_FREQ_CONTROL) += intel-uncore-frequency.o
drivers/platform/x86/intel-smartconnect.c drivers/platform/x86/intel/smartconnect.c
+14
drivers/platform/x86/intel/Kconfig
··· 73 73 firmware will copy the memory contents back to RAM and resume the OS 74 74 as usual. 75 75 76 + config INTEL_SMARTCONNECT 77 + tristate "Intel Smart Connect disabling driver" 78 + depends on ACPI 79 + help 80 + Intel Smart Connect is a technology intended to permit devices to 81 + update state by resuming for a short period of time at regular 82 + intervals. If a user enables this functionality under Windows and 83 + then reboots into Linux, the system may remain configured to resume 84 + on suspend. In the absence of any userspace to support it, the system 85 + will then remain awake until something triggers another suspend. 86 + 87 + This driver checks to determine whether the device has Intel Smart 88 + Connect enabled, and if so disables it. 89 + 76 90 endif # X86_PLATFORM_DRIVERS_INTEL
+2
drivers/platform/x86/intel/Makefile
··· 24 24 # Intel Uncore drivers 25 25 intel-rst-y := rst.o 26 26 obj-$(CONFIG_INTEL_RST) += intel-rst.o 27 + intel-smartconnect-y := smartconnect.o 28 + obj-$(CONFIG_INTEL_SMARTCONNECT) += intel-smartconnect.o