diff options
author | Bjorn Helgaas <bhelgaas@google.com> | 2013-04-15 14:34:02 -0600 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2013-04-15 14:34:02 -0600 |
commit | 26abfeed4341872364386c6a52b9acef8c81a81a (patch) | |
tree | dbb7865374312a017bb5d08816c8d0433474b2ab /lib/decompress.c | |
parent | 76668257b26957ce2ca815da9e7d7fc740164123 (diff) |
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 'lib/decompress.c')
0 files changed, 0 insertions, 0 deletions