PCI: fix pci_setup_device()'s sprinting into a const buffer
authorDavid Howells <dhowells@redhat.com>
Fri, 27 Jun 2008 12:23:20 +0000 (13:23 +0100)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Fri, 27 Jun 2008 20:09:02 +0000 (13:09 -0700)
Make pci_setup_device() write the bus ID directly into the allotted storage,
rather than using pci_name() as the address as that now returns a const
pointer.

Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>

No differences found