linux-pci.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v1 1/1] x86/PCI: Drop 'pci' suffix from intel_mid_pci.c
@ 2025-04-07  7:03 Andy Shevchenko
  2025-04-07 17:40 ` Ingo Molnar
  2025-04-17 20:20 ` Bjorn Helgaas
  0 siblings, 2 replies; 4+ messages in thread
From: Andy Shevchenko @ 2025-04-07  7:03 UTC (permalink / raw)
  To: Andy Shevchenko, linux-kernel, linux-pci
  Cc: Bjorn Helgaas, Thomas Gleixner, Ingo Molnar, Borislav Petkov,
	Dave Hansen, x86, H. Peter Anvin, Andy Shevchenko

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%)

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
-- 
2.47.2


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH v1 1/1] x86/PCI: Drop 'pci' suffix from intel_mid_pci.c
  2025-04-07  7:03 [PATCH v1 1/1] x86/PCI: Drop 'pci' suffix from intel_mid_pci.c Andy Shevchenko
@ 2025-04-07 17:40 ` Ingo Molnar
  2025-04-14 10:05   ` Andy Shevchenko
  2025-04-17 20:20 ` Bjorn Helgaas
  1 sibling, 1 reply; 4+ messages in thread
From: Ingo Molnar @ 2025-04-07 17:40 UTC (permalink / raw)
  To: Andy Shevchenko
  Cc: linux-kernel, linux-pci, Bjorn Helgaas, Thomas Gleixner,
	Ingo Molnar, Borislav Petkov, Dave Hansen, x86, H. Peter Anvin,
	Andy Shevchenko


* 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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH v1 1/1] x86/PCI: Drop 'pci' suffix from intel_mid_pci.c
  2025-04-07 17:40 ` Ingo Molnar
@ 2025-04-14 10:05   ` Andy Shevchenko
  0 siblings, 0 replies; 4+ messages in thread
From: Andy Shevchenko @ 2025-04-14 10:05 UTC (permalink / raw)
  To: Ingo Molnar
  Cc: linux-kernel, linux-pci, Bjorn Helgaas, Thomas Gleixner,
	Ingo Molnar, Borislav Petkov, Dave Hansen, x86, H. Peter Anvin

On Mon, Apr 07, 2025 at 07:40:16PM +0200, Ingo Molnar wrote:
> 
> * 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!
I believe it's Bjorn who is going to apply?

-- 
With Best Regards,
Andy Shevchenko



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH v1 1/1] x86/PCI: Drop 'pci' suffix from intel_mid_pci.c
  2025-04-07  7:03 [PATCH v1 1/1] x86/PCI: Drop 'pci' suffix from intel_mid_pci.c Andy Shevchenko
  2025-04-07 17:40 ` Ingo Molnar
@ 2025-04-17 20:20 ` Bjorn Helgaas
  1 sibling, 0 replies; 4+ messages in thread
From: Bjorn Helgaas @ 2025-04-17 20:20 UTC (permalink / raw)
  To: Andy Shevchenko
  Cc: linux-kernel, linux-pci, Bjorn Helgaas, Thomas Gleixner,
	Ingo Molnar, Borislav Petkov, Dave Hansen, x86, H. Peter Anvin,
	Andy Shevchenko

On Mon, Apr 07, 2025 at 10:03:21AM +0300, Andy Shevchenko 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>

Applied to pci/misc for v6.16, thanks!

> ---
>  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%)
> 
> 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
> -- 
> 2.47.2
> 

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2025-04-17 20:20 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-07  7:03 [PATCH v1 1/1] x86/PCI: Drop 'pci' suffix from intel_mid_pci.c Andy Shevchenko
2025-04-07 17:40 ` Ingo Molnar
2025-04-14 10:05   ` Andy Shevchenko
2025-04-17 20:20 ` Bjorn Helgaas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).