commit | 26abfeed4341872364386c6a52b9acef8c81a81a | [log] [tgz] |
---|---|---|
author | Bjorn Helgaas <bhelgaas@google.com> | Mon Apr 15 14:34:02 2013 -0600 |
committer | Bjorn Helgaas <bhelgaas@google.com> | Mon Apr 15 14:34:02 2013 -0600 |
tree | dbb7865374312a017bb5d08816c8d0433474b2ab | |
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>