[PATCH 1/4][SRU][OEM-5.13] platform/x86: dell-wmi: Rename dell-wmi.c to dell-wmi-base.c
Koba Ko
koba.ko at canonical.com
Mon Jul 12 07:02:52 UTC 2021
From: Hans de Goede <hdegoede at redhat.com>
BugLink: https://bugs.launchpad.net/bugs/1928750
Rename dell-wmi.c to dell-wmi-base.c, so that we can have other
dell-wmi-foo.c files which can be added to dell-wmi.ko as "plugins"
controlled by separate boolean Kconfig options.
Signed-off-by: Hans de Goede <hdegoede at redhat.com>
(cherry picked from commit 8bf388a0a0fe257dd7be9db0352b5b71b4e9138a)
Signed-off-by: Koba Ko <koba.ko at canonical.com>
---
MAINTAINERS | 2 +-
drivers/platform/x86/dell/Makefile | 1 +
drivers/platform/x86/dell/{dell-wmi.c => dell-wmi-base.c} | 0
3 files changed, 2 insertions(+), 1 deletion(-)
rename drivers/platform/x86/dell/{dell-wmi.c => dell-wmi-base.c} (100%)
diff --git a/MAINTAINERS b/MAINTAINERS
index ca74514e1db04..03e48fa0e1afc 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -5191,7 +5191,7 @@ DELL WMI NOTIFICATIONS DRIVER
M: Matthew Garrett <mjg59 at srcf.ucam.org>
M: Pali Rohár <pali at kernel.org>
S: Maintained
-F: drivers/platform/x86/dell/dell-wmi.c
+F: drivers/platform/x86/dell/dell-wmi-base.c
DELTA ST MEDIA DRIVER
M: Hugues Fruchet <hugues.fruchet at foss.st.com>
diff --git a/drivers/platform/x86/dell/Makefile b/drivers/platform/x86/dell/Makefile
index d3805d34cd0a4..0b9ece8505548 100644
--- a/drivers/platform/x86/dell/Makefile
+++ b/drivers/platform/x86/dell/Makefile
@@ -16,6 +16,7 @@ dell-smbios-$(CONFIG_DELL_SMBIOS_SMM) += dell-smbios-smm.o
obj-$(CONFIG_DELL_SMO8800) += dell-smo8800.o
obj-$(CONFIG_DELL_UART_BACKLIGHT) += dell-uart-backlight.o
obj-$(CONFIG_DELL_WMI) += dell-wmi.o
+dell-wmi-objs := dell-wmi-base.o
obj-$(CONFIG_DELL_WMI_AIO) += dell-wmi-aio.o
obj-$(CONFIG_DELL_WMI_DESCRIPTOR) += dell-wmi-descriptor.o
obj-$(CONFIG_DELL_WMI_LED) += dell-wmi-led.o
diff --git a/drivers/platform/x86/dell/dell-wmi.c b/drivers/platform/x86/dell/dell-wmi-base.c
similarity index 100%
rename from drivers/platform/x86/dell/dell-wmi.c
rename to drivers/platform/x86/dell/dell-wmi-base.c
--
2.25.1
More information about the kernel-team
mailing list