From 5bd55f37ff57d297435a380c13ea7b5ac0fe29bd Mon Sep 17 00:00:00 2001 From: Trent Piepho Date: Wed, 9 Apr 2008 12:19:32 +1000 Subject: [PATCH] --- yaml --- r: 91616 b: refs/heads/master c: f13f4ca8036516ca1b99a41f95f7dea7e4dce104 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/include/asm-powerpc/pci-bridge.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index 94aa9afc52d3..128cd11110ea 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 49a99978849e86541c3bb789788f7f874a841935 +refs/heads/master: f13f4ca8036516ca1b99a41f95f7dea7e4dce104 diff --git a/trunk/include/asm-powerpc/pci-bridge.h b/trunk/include/asm-powerpc/pci-bridge.h index e5802c62f428..b95d033ae6e6 100644 --- a/trunk/include/asm-powerpc/pci-bridge.h +++ b/trunk/include/asm-powerpc/pci-bridge.h @@ -117,7 +117,7 @@ struct pci_controller { #ifndef CONFIG_PPC64 -static inline struct pci_controller *pci_bus_to_host(struct pci_bus *bus) +static inline struct pci_controller *pci_bus_to_host(const struct pci_bus *bus) { return bus->sysdata; } @@ -235,7 +235,7 @@ extern void pcibios_fixup_new_pci_devices(struct pci_bus *bus); extern int pcibios_remove_root_bus(struct pci_controller *phb); -static inline struct pci_controller *pci_bus_to_host(struct pci_bus *bus) +static inline struct pci_controller *pci_bus_to_host(const struct pci_bus *bus) { struct device_node *busdn = bus->sysdata;