Move intel_speed_select_if to intel sub-directory to improve readability and rename it from intel_speed_select_if to speed_select_if Signed-off-by: Kate Hsuan <hpa@xxxxxxxxxx> --- drivers/platform/x86/Kconfig | 2 -- drivers/platform/x86/Makefile | 2 -- drivers/platform/x86/intel/Kconfig | 2 ++ drivers/platform/x86/intel/Makefile | 3 ++- .../{intel_speed_select_if => intel/speed_select_if}/Kconfig | 0 .../{intel_speed_select_if => intel/speed_select_if}/Makefile | 0 .../speed_select_if}/isst_if_common.c | 0 .../speed_select_if}/isst_if_common.h | 0 .../speed_select_if}/isst_if_mbox_msr.c | 0 .../speed_select_if}/isst_if_mbox_pci.c | 0 .../speed_select_if}/isst_if_mmio.c | 0 11 files changed, 4 insertions(+), 5 deletions(-) rename drivers/platform/x86/{intel_speed_select_if => intel/speed_select_if}/Kconfig (100%) rename drivers/platform/x86/{intel_speed_select_if => intel/speed_select_if}/Makefile (100%) rename drivers/platform/x86/{intel_speed_select_if => intel/speed_select_if}/isst_if_common.c (100%) rename drivers/platform/x86/{intel_speed_select_if => intel/speed_select_if}/isst_if_common.h (100%) rename drivers/platform/x86/{intel_speed_select_if => intel/speed_select_if}/isst_if_mbox_msr.c (100%) rename drivers/platform/x86/{intel_speed_select_if => intel/speed_select_if}/isst_if_mbox_pci.c (100%) rename drivers/platform/x86/{intel_speed_select_if => intel/speed_select_if}/isst_if_mmio.c (100%) diff --git a/drivers/platform/x86/Kconfig b/drivers/platform/x86/Kconfig index f0e3d9dc71a4..b864e37c6781 100644 --- a/drivers/platform/x86/Kconfig +++ b/drivers/platform/x86/Kconfig @@ -1109,8 +1109,6 @@ config INTEL_IMR If you are running on a Galileo/Quark say Y here. -source "drivers/platform/x86/intel_speed_select_if/Kconfig" - endif # X86_PLATFORM_DEVICES diff --git a/drivers/platform/x86/Makefile b/drivers/platform/x86/Makefile index e028c8dbb7cc..f30cee767252 100644 --- a/drivers/platform/x86/Makefile +++ b/drivers/platform/x86/Makefile @@ -119,7 +119,5 @@ obj-$(CONFIG_MLX_PLATFORM) += mlx-platform.o obj-$(CONFIG_TOUCHSCREEN_DMI) += touchscreen_dmi.o obj-$(CONFIG_WIRELESS_HOTKEY) += wireless-hotkey.o -# Intel uncore drivers -obj-$(CONFIG_INTEL_SPEED_SELECT_INTERFACE) += intel_speed_select_if/ obj-$(CONFIG_PMC_ATOM) += pmc_atom.o diff --git a/drivers/platform/x86/intel/Kconfig b/drivers/platform/x86/intel/Kconfig index 3763ed816919..01c73d184461 100644 --- a/drivers/platform/x86/intel/Kconfig +++ b/drivers/platform/x86/intel/Kconfig @@ -98,6 +98,8 @@ config INTEL_SMARTCONNECT This driver checks to determine whether the device has Intel Smart Connect enabled, and if so disables it. +source "drivers/platform/x86/intel/speed_select_if/Kconfig" + config INTEL_TURBO_MAX_3 bool "Intel Turbo Boost Max Technology 3.0 enumeration driver" depends on X86_64 && SCHED_MC_PRIO diff --git a/drivers/platform/x86/intel/Makefile b/drivers/platform/x86/intel/Makefile index 44b1fe372b44..ae2a3cec8d82 100644 --- a/drivers/platform/x86/intel/Makefile +++ b/drivers/platform/x86/intel/Makefile @@ -36,4 +36,5 @@ obj-$(CONFIG_INTEL_SMARTCONNECT) += intel-smartconnect.o intel_turbo_max_3-y := turbo_max_3.o obj-$(CONFIG_INTEL_TURBO_MAX_3) += intel_turbo_max_3.o intel-uncore-frequency-y := uncore-frequency.o -obj-$(CONFIG_INTEL_UNCORE_FREQ_CONTROL) += intel-uncore-frequency.o \ No newline at end of file +obj-$(CONFIG_INTEL_UNCORE_FREQ_CONTROL) += intel-uncore-frequency.o +obj-$(CONFIG_INTEL_SPEED_SELECT_INTERFACE) += speed_select_if/ \ No newline at end of file diff --git a/drivers/platform/x86/intel_speed_select_if/Kconfig b/drivers/platform/x86/intel/speed_select_if/Kconfig similarity index 100% rename from drivers/platform/x86/intel_speed_select_if/Kconfig rename to drivers/platform/x86/intel/speed_select_if/Kconfig diff --git a/drivers/platform/x86/intel_speed_select_if/Makefile b/drivers/platform/x86/intel/speed_select_if/Makefile similarity index 100% rename from drivers/platform/x86/intel_speed_select_if/Makefile rename to drivers/platform/x86/intel/speed_select_if/Makefile diff --git a/drivers/platform/x86/intel_speed_select_if/isst_if_common.c b/drivers/platform/x86/intel/speed_select_if/isst_if_common.c similarity index 100% rename from drivers/platform/x86/intel_speed_select_if/isst_if_common.c rename to drivers/platform/x86/intel/speed_select_if/isst_if_common.c diff --git a/drivers/platform/x86/intel_speed_select_if/isst_if_common.h b/drivers/platform/x86/intel/speed_select_if/isst_if_common.h similarity index 100% rename from drivers/platform/x86/intel_speed_select_if/isst_if_common.h rename to drivers/platform/x86/intel/speed_select_if/isst_if_common.h diff --git a/drivers/platform/x86/intel_speed_select_if/isst_if_mbox_msr.c b/drivers/platform/x86/intel/speed_select_if/isst_if_mbox_msr.c similarity index 100% rename from drivers/platform/x86/intel_speed_select_if/isst_if_mbox_msr.c rename to drivers/platform/x86/intel/speed_select_if/isst_if_mbox_msr.c diff --git a/drivers/platform/x86/intel_speed_select_if/isst_if_mbox_pci.c b/drivers/platform/x86/intel/speed_select_if/isst_if_mbox_pci.c similarity index 100% rename from drivers/platform/x86/intel_speed_select_if/isst_if_mbox_pci.c rename to drivers/platform/x86/intel/speed_select_if/isst_if_mbox_pci.c diff --git a/drivers/platform/x86/intel_speed_select_if/isst_if_mmio.c b/drivers/platform/x86/intel/speed_select_if/isst_if_mmio.c similarity index 100% rename from drivers/platform/x86/intel_speed_select_if/isst_if_mmio.c rename to drivers/platform/x86/intel/speed_select_if/isst_if_mmio.c -- 2.31.1