]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
PCI: fix compiler warnings in pci_get_subsys()
authorGreg KH <gregkh@suse.de>
Tue, 26 Aug 2008 15:20:34 +0000 (08:20 -0700)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Tue, 16 Sep 2008 22:52:08 +0000 (15:52 -0700)
commitb08508c40adf3fd1330aabc4f37d3254179776c4
tree53a9605ef9d9c937465fa47b05fb9b1a5b52f2e0
parente1f4f59d1ab9ebac44830d6ae450fb358ac559d3
PCI: fix compiler warnings in pci_get_subsys()

pci_get_subsys() changed in 2.6.26 so that the from pointer is modified
when the call is being invoked, so fix up the 'const' marking of it that
the compiler is complaining about.

Reported-by: Rufus & Azrael <rufus-azrael@numericable.fr>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
drivers/pci/search.c
include/linux/pci.h