diff options
author | David S. Miller <davem@davemloft.net> | 2008-09-10 00:19:28 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-09-10 23:07:59 -0700 |
commit | 22fecbae4446ad470b9237ee9b79f80f343b3838 (patch) | |
tree | 91f10500f68cf757804966c2e90100bf1556bd53 /arch/sparc64/kernel/pci_impl.h | |
parent | d3ae4b5bc7186a53731d35187ad4ba3bca147cf6 (diff) |
sparc64: Record OF device instead of device node pointer in pci_pbm_info.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc64/kernel/pci_impl.h')
-rw-r--r-- | arch/sparc64/kernel/pci_impl.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/sparc64/kernel/pci_impl.h b/arch/sparc64/kernel/pci_impl.h index 4937ce903a8..b300f39e9e8 100644 --- a/arch/sparc64/kernel/pci_impl.h +++ b/arch/sparc64/kernel/pci_impl.h @@ -10,6 +10,7 @@ #include <linux/spinlock.h> #include <linux/pci.h> #include <linux/msi.h> +#include <linux/of_device.h> #include <asm/io.h> #include <asm/prom.h> #include <asm/iommu.h> @@ -90,7 +91,7 @@ struct pci_pbm_info { char *name; /* OBP specific information. */ - struct device_node *prom_node; + struct of_device *op; u64 ino_bitmap; /* PBM I/O and Memory space resources. */ |