diff options
author | 2013-04-15 14:34:02 -0600 | |
---|---|---|
committer | 2013-04-15 14:34:02 -0600 | |
commit | 26abfeed4341872364386c6a52b9acef8c81a81a (patch) | |
tree | dbb7865374312a017bb5d08816c8d0433474b2ab /tools/perf/scripts/python/export-to-postgresql.py | |
parent | EISA: Mark vendor ID resource as I/O port space (diff) | |
download | linux-dev-26abfeed4341872364386c6a52b9acef8c81a81a.tar.xz linux-dev-26abfeed4341872364386c6a52b9acef8c81a81a.zip |
EISA: Initialize device before its resources
Move eisa_init_device() before eisa_request_resources() so the device
name is set before we set up its resources. That way we can print
better messages.
Previously edev->res[i].name was set to NULL in eisa_request_resources(),
then filled in by eisa_init_device(). Now it is filled in by
eisa_init_device() first, and we don't want to clear it out later in
eisa_request_resources().
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions