From: Michal Simek <monstr@monstr.eu>
To: Bjorn Helgaas <bhelgaas@google.com>, linux-pci@vger.kernel.org
Subject: Re: [PATCH 3/7] microblaze/PCI: Remove unnecessary struct pci_dev declaration
Date: Fri, 05 Jun 2015 09:07:42 +0200 [thread overview]
Message-ID: <55714ABE.2020202@monstr.eu> (raw)
In-Reply-To: <20150604214943.2399.32540.stgit@bhelgaas-glaptop2.roam.corp.google.com>
[-- Attachment #1: Type: text/plain, Size: 1385 bytes --]
On 06/04/2015 11:49 PM, Bjorn Helgaas wrote:
> All users of arch/microblaze/include/asm/pci.h get it by including
> include/linux/pci.h, which in turn includes <asm/pci.h> after it declares
> struct pci_dev.
>
> The forward declaration here is unnecessary, so remove it.
>
> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
> CC: Michal Simek <monstr@monstr.eu>
> ---
> arch/microblaze/include/asm/pci.h | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/arch/microblaze/include/asm/pci.h b/arch/microblaze/include/asm/pci.h
> index 541400d..67224d3 100644
> --- a/arch/microblaze/include/asm/pci.h
> +++ b/arch/microblaze/include/asm/pci.h
> @@ -27,8 +27,6 @@
> #define PCIBIOS_MIN_IO 0x1000
> #define PCIBIOS_MIN_MEM 0x10000000
>
> -struct pci_dev;
> -
> /* Values for the `which' argument to sys_pciconfig_iobase syscall. */
> #define IOBASE_BRIDGE_NUMBER 0
> #define IOBASE_MEMORY 1
>
Tested-by: Michal Simek <michal.simek@xilinx.com>
Bjorn: Do you want me to take this via Microblaze tree?
Thanks,
Michal
--
Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel - Microblaze cpu - http://www.monstr.eu/fdt/
Maintainer of Linux kernel - Xilinx Zynq ARM architecture
Microblaze U-BOOT custodian and responsible for u-boot arm zynq platform
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
next prev parent reply other threads:[~2015-06-05 7:07 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-04 21:49 [PATCH 0/7] Cleanup unused code Bjorn Helgaas
2015-06-04 21:49 ` [PATCH 1/7] microblaze/PCI: Remove unused declarations Bjorn Helgaas
2015-06-05 7:07 ` Michal Simek
2015-06-05 15:11 ` Bjorn Helgaas
2015-06-08 8:06 ` Michal Simek
2015-06-08 12:58 ` Bjorn Helgaas
2015-06-04 21:49 ` [PATCH 2/7] microblaze/PCI: Remove unnecessary pci_bus_find_capability() declaration Bjorn Helgaas
2015-06-05 7:07 ` Michal Simek
2015-06-04 21:49 ` [PATCH 3/7] microblaze/PCI: Remove unnecessary struct pci_dev declaration Bjorn Helgaas
2015-06-05 7:07 ` Michal Simek [this message]
2015-06-04 21:49 ` [PATCH 4/7] PCI: Include <linux/pci.h>, not <asm/pci.h> Bjorn Helgaas
2015-06-04 21:49 ` [PATCH 5/7] PCI: Remove unnecessary #includes of <asm/pci.h> Bjorn Helgaas
2015-06-04 21:49 ` Bjorn Helgaas
2015-06-05 1:53 ` Simon Horman
2015-06-05 1:53 ` Simon Horman
2015-06-05 8:08 ` Ralf Baechle
2015-06-05 8:08 ` Ralf Baechle
2015-06-04 21:50 ` [PATCH 6/7] PCI: Remove unused pcibios_select_root() (again) Bjorn Helgaas
2015-06-04 21:50 ` [PATCH 7/7] PCI: Remove unused pci_dma_burst_advice() Bjorn Helgaas
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=55714ABE.2020202@monstr.eu \
--to=monstr@monstr.eu \
--cc=bhelgaas@google.com \
--cc=linux-pci@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.