PCI: constify pci_bus_add_devices()
drivers/pci/hotplug/fakephp.c:283: warning: passing argument 1 of 'pci_bus_add_devices' discards qualifiers from pointer target type Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
This commit is contained in:
committed by
Jesse Barnes
parent
b5fbf53324
commit
c48f1670f4
@@ -133,7 +133,7 @@ int pci_bus_add_child(struct pci_bus *bus)
|
||||
*
|
||||
* Call hotplug for each new devices.
|
||||
*/
|
||||
void pci_bus_add_devices(struct pci_bus *bus)
|
||||
void pci_bus_add_devices(const struct pci_bus *bus)
|
||||
{
|
||||
struct pci_dev *dev;
|
||||
struct pci_bus *child;
|
||||
|
Reference in New Issue
Block a user