summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDavid S. Miller <davem@sunset.davemloft.net>2007-05-08 08:49:01 +0200
committerDavid S. Miller <davem@sunset.davemloft.net>2007-05-09 01:41:40 +0200
commit6c108f1299754877bb5f73ccac5621eb603b97eb (patch)
tree6f4e2f0d2dfdb143780106c3c6942f5e3946c509 /include
parent[SPARC64]: Move {setup,teardown}_msi_irq into pci_pbm_info. (diff)
downloadlinux-6c108f1299754877bb5f73ccac5621eb603b97eb.tar.xz
linux-6c108f1299754877bb5f73ccac5621eb603b97eb.zip
[SPARC64]: Move index info pci_pbm_info.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
-rw-r--r--include/asm-sparc64/pbm.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/include/asm-sparc64/pbm.h b/include/asm-sparc64/pbm.h
index 1d5dcfe133a2..d99e0468c7e4 100644
--- a/include/asm-sparc64/pbm.h
+++ b/include/asm-sparc64/pbm.h
@@ -40,6 +40,7 @@ struct pci_controller_info;
struct pci_pbm_info {
struct pci_pbm_info *next;
+ int index;
/* PCI controller we sit under. */
struct pci_controller_info *parent;
@@ -123,11 +124,6 @@ struct pci_pbm_info {
};
struct pci_controller_info {
- /* Each controller gets a unique index, used mostly for
- * error logging purposes.
- */
- int index;
-
/* The PCI bus modules controlled by us. */
struct pci_pbm_info pbm_A;
struct pci_pbm_info pbm_B;