diff options
author | Jia Hongtao <[email protected]> | 2012-08-03 18:14:09 +0800 |
---|---|---|
committer | Kumar Gala <[email protected]> | 2012-08-03 08:25:52 -0500 |
commit | c9f11c30374329a0d2a88cf05281ca49d8eca9ab (patch) | |
tree | f0d18ba0e1f589ef8e7c70689fe25848867310ca /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 0d7614f09c1ebdbaa1599a5aba7593f147bf96ee (diff) |
powerpc/fsl-pci: Only scan PCI bus if configured as a host
We change fsl_add_bridge to return -ENODEV if the controller is working in
agent mode. Then check the return value of fsl_add_bridge to guarantee
that only successfully added host bus will be scanned.
Signed-off-by: Jia Hongtao <[email protected]>
Signed-off-by: Li Yang <[email protected]>
Signed-off-by: Kumar Gala <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions