Re: [PATCH 2/4] PCI: Remove redundant pci_dev, pci_bus, resource declarations
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- To: Bjorn Helgaas <helgaas@xxxxxxxxxx>
- Subject: Re: [PATCH 2/4] PCI: Remove redundant pci_dev, pci_bus, resource declarations
- From: Jesper Nilsson <jesper.nilsson@xxxxxxxx>
- Date: Fri, 6 Oct 2017 09:27:13 +0200
- Cc: linux-pci@xxxxxxxxxxxxxxx, linux-mips@xxxxxxxxxxxxxx, Rich Felker <dalias@xxxxxxxx>, linux-ia64@xxxxxxxxxxxxxxx, linux-sh@xxxxxxxxxxxxxxx, Benjamin Herrenschmidt <benh@xxxxxxxxxxxxxxxxxxx>, David Howells <dhowells@xxxxxxxxxx>, Max Filippov <jcmvbkbc@xxxxxxxxx>, Paul Mackerras <paulus@xxxxxxxxx>, "H. Peter Anvin" <hpa@xxxxxxxxx>, sparclinux@xxxxxxxxxxxxxxx, Jesper Nilsson <jespern@xxxxxxxx>, linux-am33-list@xxxxxxxxxx, Yoshinori Sato <ysato@xxxxxxxxxxxxxxxxxxxx>, Michael Ellerman <mpe@xxxxxxxxxxxxxx>, Helge Deller <deller@xxxxxx>, x86@xxxxxxxxxx, "James E.J. Bottomley" <jejb@xxxxxxxxxxxxxxxx>, Ingo Molnar <mingo@xxxxxxxxxx>, Matt Turner <mattst88@xxxxxxxxx>, Fenghua Yu <fenghua.yu@xxxxxxxxx>, linux-xtensa@xxxxxxxxxxxxxxxx, Mikael Starvik <starvik@xxxxxxxx>, Ivan Kokshaysky <ink@xxxxxxxxxxxxxxxxxxxx>, Thomas Gleixner <tglx@xxxxxxxxxxxxx>, Richard Henderson <rth@xxxxxxxxxxx>, Chris Zankel <chris@xxxxxxxxxx>, Tony Luck <tony.luck@xxxxxxxxx>, linux-cris-kernel@xxxxxxxx, linux-parisc@xxxxxxxxxxxxxxx, Ralf Baechle <ralf@xxxxxxxxxxxxxx>, linux-alpha@xxxxxxxxxxxxxxx, linuxppc-dev@xxxxxxxxxxxxxxxx, "David S. Miller" <davem@xxxxxxxxxxxxx>
- In-reply-to: <20171005203849.18300.20999.stgit@bhelgaas-glaptop.roam.corp.google.com>
- References: <20171005201939.18300.25690.stgit@bhelgaas-glaptop.roam.corp.google.com> <20171005203849.18300.20999.stgit@bhelgaas-glaptop.roam.corp.google.com>
- User-agent: Mutt/1.5.23 (2014-03-12)
On Thu, Oct 05, 2017 at 03:38:49PM -0500, Bjorn Helgaas wrote:
> From: Bjorn Helgaas <bhelgaas@xxxxxxxxxx>
>
> <linux/pci.h> defines struct pci_bus and struct pci_dev and includes the
> struct resource definition before including <asm/pci.h>. Nobody includes
> <asm/pci.h> directly, so they don't need their own declarations.
>
> Remove the redundant struct pci_dev, pci_bus, resource declarations.
>
> Signed-off-by: Bjorn Helgaas <bhelgaas@xxxxxxxxxx>
> ---
> arch/alpha/include/asm/pci.h | 3 ---
> arch/cris/include/asm/pci.h | 2 --
For what it's worth, for the cris changes:
Acked-by: Jesper Nilsson <jesper.nilsson@xxxxxxxx>
> arch/frv/include/asm/pci.h | 2 --
> arch/ia64/include/asm/pci.h | 2 --
> arch/mips/include/asm/pci.h | 2 --
> arch/mn10300/include/asm/pci.h | 2 --
> arch/parisc/include/asm/pci.h | 7 -------
> arch/powerpc/include/asm/pci.h | 2 --
> arch/sh/include/asm/pci.h | 2 --
> arch/sparc/include/asm/pci_32.h | 2 --
> arch/xtensa/include/asm/pci.h | 2 --
> 11 files changed, 28 deletions(-)
/^JN - Jesper Nilsson
--
Jesper Nilsson -- jesper.nilsson@xxxxxxxx
--
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
[Index of Archives]
[Linux Kernel]
[Sparc Linux]
[DCCP]
[Linux ARM]
[Yosemite News]
[Linux SCSI]
[Linux x86_64]
[Linux for Ham Radio]