diff mbox series

[v1,1/1] x86/PCI: Drop 'pci' suffix from intel_mid_pci.c

Message ID 20250407070321.3761063-1-andriy.shevchenko@linux.intel.com (mailing list archive)
State New
Headers show
Series [v1,1/1] x86/PCI: Drop 'pci' suffix from intel_mid_pci.c | expand

Commit Message

Andy Shevchenko April 7, 2025, 7:03 a.m. UTC
CE4100 PCI specific code has no 'pci' suffix in the filename,
intel_mid_pci.c is the only one that duplicates the folder
name in its filename, drop that redundancy.

While at it, group the respective modules in the Makefile.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
 MAINTAINERS                                   | 2 +-
 arch/x86/pci/Makefile                         | 6 +++---
 arch/x86/pci/{intel_mid_pci.c => intel_mid.c} | 0
 3 files changed, 4 insertions(+), 4 deletions(-)
 rename arch/x86/pci/{intel_mid_pci.c => intel_mid.c} (100%)

Comments

Ingo Molnar April 7, 2025, 5:40 p.m. UTC | #1
* Andy Shevchenko <andriy.shevchenko@linux.intel.com> wrote:

> CE4100 PCI specific code has no 'pci' suffix in the filename,
> intel_mid_pci.c is the only one that duplicates the folder
> name in its filename, drop that redundancy.
> 
> While at it, group the respective modules in the Makefile.
> 
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
> ---
>  MAINTAINERS                                   | 2 +-
>  arch/x86/pci/Makefile                         | 6 +++---
>  arch/x86/pci/{intel_mid_pci.c => intel_mid.c} | 0
>  3 files changed, 4 insertions(+), 4 deletions(-)
>  rename arch/x86/pci/{intel_mid_pci.c => intel_mid.c} (100%)

Acked-by: Ingo Molnar <mingo@kernel.org>

Thanks,

	Ingo
diff mbox series

Patch

diff --git a/MAINTAINERS b/MAINTAINERS
index 96b827049501..1f6514d55b17 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -12120,7 +12120,7 @@  M:	Andy Shevchenko <andy@kernel.org>
 L:	linux-kernel@vger.kernel.org
 S:	Supported
 F:	arch/x86/include/asm/intel-mid.h
-F:	arch/x86/pci/intel_mid_pci.c
+F:	arch/x86/pci/intel_mid.c
 F:	arch/x86/platform/intel-mid/
 F:	drivers/dma/hsu/
 F:	drivers/extcon/extcon-intel-mrfld.c
diff --git a/arch/x86/pci/Makefile b/arch/x86/pci/Makefile
index 4933fb337983..c1efd5b0d198 100644
--- a/arch/x86/pci/Makefile
+++ b/arch/x86/pci/Makefile
@@ -8,13 +8,13 @@  obj-$(CONFIG_PCI_OLPC)		+= olpc.o
 obj-$(CONFIG_PCI_XEN)		+= xen.o
 
 obj-y				+= fixup.o
-obj-$(CONFIG_X86_INTEL_CE)      += ce4100.o
 obj-$(CONFIG_ACPI)		+= acpi.o
 obj-y				+= legacy.o irq.o
 
-obj-$(CONFIG_X86_NUMACHIP)	+= numachip.o
+obj-$(CONFIG_X86_INTEL_CE)	+= ce4100.o
+obj-$(CONFIG_X86_INTEL_MID)	+= intel_mid.o
 
-obj-$(CONFIG_X86_INTEL_MID)	+= intel_mid_pci.o
+obj-$(CONFIG_X86_NUMACHIP)	+= numachip.o
 
 obj-y				+= common.o early.o
 obj-y				+= bus_numa.o
diff --git a/arch/x86/pci/intel_mid_pci.c b/arch/x86/pci/intel_mid.c
similarity index 100%
rename from arch/x86/pci/intel_mid_pci.c
rename to arch/x86/pci/intel_mid.c