diff options
| author | Tejun Heo <[email protected]> | 2009-09-03 15:26:36 +0900 |
|---|---|---|
| committer | Jesse Barnes <[email protected]> | 2009-09-09 13:43:58 -0700 |
| commit | 9dba910e9de2c4aa15ec1286f10052c107ef48ca (patch) | |
| tree | 4870eccc95e406ae8d490136f5d65953203418c8 /tools/perf/scripts/python | |
| parent | 825c423a35a80a8fd66398a3f9bde7f0b0187a76 (diff) | |
PCI: separate out pci_add_dynid()
Separate out pci_add_dynid() from store_new_id() and export it so that
in-kernel code can add PCI IDs dynamically. As the function will be
available regardless of HOTPLUG, put it and pull pci_free_dynids()
outside of CONFIG_HOTPLUG.
This will be used by pci-stub to initialize initial IDs via module
param.
While at it, remove bogus get_driver() failure check.
Signed-off-by: Tejun Heo <[email protected]>
Acked-by: Greg Kroah-Hartman <[email protected]>
Reviewed-by: Grant Grundler <[email protected]>
Signed-off-by: Jesse Barnes <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions