]> err.no Git - linux-2.6/blobdiff - include/asm-ppc/pci-bridge.h
[NETFILTER]: Add ctnetlink port for nf_conntrack
[linux-2.6] / include / asm-ppc / pci-bridge.h
index ffa423456c2ba7eeae7af7e8de7738f08d614423..e58c78f90a5a20849b8927a58c2187b519f50616 100644 (file)
@@ -79,6 +79,11 @@ struct pci_controller {
        struct resource mem_space;
 };
 
+static inline struct pci_controller *pci_bus_to_host(struct pci_bus *bus)
+{
+       return bus->sysdata;
+}
+
 /* These are used for config access before all the PCI probing
    has been done. */
 int early_read_config_byte(struct pci_controller *hose, int bus, int dev_fn,