commit | 8b285ce84bbc719e363a796f466404576b840d36 | [log] [tgz] |
---|---|---|
author | David Howells <dhowells@redhat.com> | Fri Jun 27 13:23:20 2008 +0100 |
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | Fri Jun 27 13:09:02 2008 -0700 |
tree | 05fb0faca73afc594f9dca60f4b2be742b0d60ae | |
parent | 9433f6dd3a4677e9b92c6e1cd7f98b11598b7c2c [diff] |
PCI: fix pci_setup_device()'s sprinting into a const buffer 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>