Skip to content
Commit f13f4ca8 authored by Trent Piepho's avatar Trent Piepho Committed by Paul Mackerras
Browse files

[POWERPC] Make pci_bus_to_host()'s struct pci_bus * argument const



A) It's not modified and so it can be made const.  const is good.
B) If one has a function that was given a const pci_bus pointer and you
want to get a pointer to its pci_controller, you'll get a warning from gcc
when you use pci_bus_to_host().  This is the right way to stop that
warning.

Signed-off-by: default avatarTrent Piepho <tpiepho@freescale.com>
Acked-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
parent 49a99978
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment